[Python-checkins] bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
Miss Islington (bot)
webhook-mailer at python.org
Sun Apr 21 18:20:48 EDT 2019
https://github.com/python/cpython/commit/71b88827f6ad368eafa17983bd979175d24da888
commit: 71b88827f6ad368eafa17983bd979175d24da888
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-04-21T15:20:45-07:00
summary:
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
(cherry picked from commit 5ebfa840a1c9967da299356733da41b532688988)
Co-authored-by: mollison <mollison at cs.unc.edu>
files:
M Doc/library/re.rst
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.
More information about the Python-checkins
mailing list