mirror of https://github.com/python/cpython
Fix typo in Doc/library/textwrap.rst (#110328)
"One problem with this is algorithm is that [...]" -> "One problem with this algorithm is that [...]"
This commit is contained in:
parent
d023d4166b
commit
02cdaefe9a
|
@ -238,7 +238,7 @@ hyphenated words; only then will long words be broken if necessary, unless
|
|||
However, the sentence detection algorithm is imperfect: it assumes that a
|
||||
sentence ending consists of a lowercase letter followed by one of ``'.'``,
|
||||
``'!'``, or ``'?'``, possibly followed by one of ``'"'`` or ``"'"``,
|
||||
followed by a space. One problem with this is algorithm is that it is
|
||||
followed by a space. One problem with this algorithm is that it is
|
||||
unable to detect the difference between "Dr." in ::
|
||||
|
||||
[...] Dr. Frankenstein's monster [...]
|
||||
|
|
Loading…
Reference in New Issue