]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.11] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110474)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 6 Oct 2023 14:35:23 +0000 (07:35 -0700)
committerGitHub <noreply@github.com>
Fri, 6 Oct 2023 14:35:23 +0000 (14:35 +0000)
Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
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 [...]