summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2023-10-06 14:33:16 (GMT)
committerGitHub <noreply@github.com>2023-10-06 14:33:16 (GMT)
commitb77f5eea70b2f46d7b94c645645db3475e9d4c0e (patch)
tree2846355876d756be13bcdb9964144a5f45441e7b
parent7e07eca008bbe04dc9139dfffd4ea82e13c6d518 (diff)
downloadcpython-b77f5eea70b2f46d7b94c645645db3475e9d4c0e.zip
cpython-b77f5eea70b2f46d7b94c645645db3475e9d4c0e.tar.gz
cpython-b77f5eea70b2f46d7b94c645645db3475e9d4c0e.tar.bz2
[3.12] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110473)
Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com>
-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 [...]