diff options
author | InSync <122007197+InSyncWithFoo@users.noreply.github.com> | 2023-10-06 14:25:02 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-06 14:25:02 (GMT) |
commit | 02cdaefe9a5fe63bfe6584688a23b9a8229d57ac (patch) | |
tree | bf83cf182deec963434f8fa570d84b2c7b959132 | |
parent | d023d4166b255023dac448305270350030101481 (diff) | |
download | cpython-02cdaefe9a5fe63bfe6584688a23b9a8229d57ac.zip cpython-02cdaefe9a5fe63bfe6584688a23b9a8229d57ac.tar.gz cpython-02cdaefe9a5fe63bfe6584688a23b9a8229d57ac.tar.bz2 |
Fix typo in Doc/library/textwrap.rst (#110328)
"One problem with this is algorithm is that [...]" -> "One problem with this algorithm is that [...]"
-rw-r--r-- | Doc/library/textwrap.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/textwrap.rst b/Doc/library/textwrap.rst index e2952ce..7445410 100644 --- a/Doc/library/textwrap.rst +++ b/Doc/library/textwrap.rst @@ -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 [...] |