[Python-checkins] bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)

Berker Peksag webhook-mailer at python.org
Sun Apr 21 18:14:51 EDT 2019


https://github.com/python/cpython/commit/5ebfa840a1c9967da299356733da41b532688988
commit: 5ebfa840a1c9967da299356733da41b532688988
branch: master
author: mollison <mollison at cs.unc.edu>
committer: Berker Peksag <berker.peksag at gmail.com>
date: 2019-04-22T01:14:45+03:00
summary:

bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)

files:
M Doc/library/re.rst

diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 4ac5dee14071..5ef72b535ce8 100644
--- a/Doc/library/re.rst
+++ b/Doc/library/re.rst
@@ -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.
 



More information about the Python-checkins mailing list