From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 21 Apr 2019 22:20:45 +0000 (-0700) Subject: bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) X-Git-Tag: v3.7.4rc1~224 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=71b88827f6ad368eafa17983bd979175d24da888;p=thirdparty%2FPython%2Fcpython.git bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) (cherry picked from commit 5ebfa840a1c9967da299356733da41b532688988) Co-authored-by: mollison --- diff --git a/Doc/library/re.rst b/Doc/library/re.rst index dc3f428b8a19..2e6c7f715d20 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -902,6 +902,7 @@ form. Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter now are errors. + .. versionchanged:: 3.7 Empty matches for the pattern are replaced when adjacent to a previous non-empty match.