]> granicus.if.org Git - python/commitdiff
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
authormollison <mollison@cs.unc.edu>
Sun, 21 Apr 2019 22:14:45 +0000 (18:14 -0400)
committerBerker Peksag <berker.peksag@gmail.com>
Sun, 21 Apr 2019 22:14:45 +0000 (01:14 +0300)
Doc/library/re.rst

index 4ac5dee1407110f112e669079acd35f17b4b2659..5ef72b535ce8d46e37d51388b443bf0bb1e2ab5c 100644 (file)
@@ -908,6 +908,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.