]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix typo in Doc/library/textwrap.rst (#110328)
authorInSync <122007197+InSyncWithFoo@users.noreply.github.com>
Fri, 6 Oct 2023 14:25:02 +0000 (21:25 +0700)
committerGitHub <noreply@github.com>
Fri, 6 Oct 2023 14:25:02 +0000 (14:25 +0000)
"One problem with this is algorithm is that [...]" -> "One problem with this algorithm is that [...]"

Doc/library/textwrap.rst

index e2952ce3cc2ca375a3879fa41b2920b2b3ad44cb..7445410f91808cbeec962e6dc20e118d87a4aa34 100644 (file)
@@ -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 [...]