Skip to content

Commit 02cdaef

Browse files
Fix typo in Doc/library/textwrap.rst (#110328)
"One problem with this is algorithm is that [...]" -> "One problem with this algorithm is that [...]"
1 parent d023d41 commit 02cdaef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/textwrap.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ hyphenated words; only then will long words be broken if necessary, unless
238238
However, the sentence detection algorithm is imperfect: it assumes that a
239239
sentence ending consists of a lowercase letter followed by one of ``'.'``,
240240
``'!'``, or ``'?'``, possibly followed by one of ``'"'`` or ``"'"``,
241-
followed by a space. One problem with this is algorithm is that it is
241+
followed by a space. One problem with this algorithm is that it is
242242
unable to detect the difference between "Dr." in ::
243243

244244
[...] Dr. Frankenstein's monster [...]

0 commit comments

Comments
 (0)