From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 6 Oct 2023 14:35:23 +0000 (-0700) Subject: [3.11] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110474) X-Git-Tag: v3.11.7~233 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=3d5aa7ec6129330c10e76435b627ff1df2cb08f7;p=thirdparty%2FPython%2Fcpython.git [3.11] Fix typo in Doc/library/textwrap.rst (GH-110328) (#110474) 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 [...]