summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorInSync <122007197+InSyncWithFoo@users.noreply.github.com>2023-10-06 14:25:02 (GMT)
committerGitHub <noreply@github.com>2023-10-06 14:25:02 (GMT)
commit02cdaefe9a5fe63bfe6584688a23b9a8229d57ac (patch)
treebf83cf182deec963434f8fa570d84b2c7b959132
parentd023d4166b255023dac448305270350030101481 (diff)
downloadcpython-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.rst2
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 [...]