From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:33:16 +0000 (-0700) Subject: [3.12] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110473) X-Git-Tag: v3.12.1~358 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b77f5eea70b2f46d7b94c645645db3475e9d4c0e;p=thirdparty%2FPython%2Fcpython.git [3.12] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110473) Co-authored-by: InSync <122007197+InSyncWithFoo@users.noreply.github.com> --- diff --git a/Doc/library/textwrap.rst b/Doc/library/textwrap.rst index e2952ce3cc2c..7445410f9180 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 [...]