]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 21 Apr 2019 22:20:45 +0000 (15:20 -0700)
committerGitHub <noreply@github.com>
Sun, 21 Apr 2019 22:20:45 +0000 (15:20 -0700)
(cherry picked from commit 5ebfa840a1c9967da299356733da41b532688988)

Co-authored-by: mollison <mollison@cs.unc.edu>
Doc/library/re.rst

index dc3f428b8a19c0a7cd203c91f36f28a2a4256da1..2e6c7f715d20d68baf527006bf7aba0d8f27c933 100644 (file)
@@ -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.