summaryrefslogtreecommitdiffstats
path: root/Doc/library/re.rst
diff options
context:
space:
mode:
authormollison <mollison@cs.unc.edu>2019-04-21 22:14:45 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2019-04-21 22:14:45 (GMT)
commit5ebfa840a1c9967da299356733da41b532688988 (patch)
treec12fb7bc987e0c9dff581f6d51fd6c4967cf765e /Doc/library/re.rst
parent3e986de0d65e78901b55d4e500b1d05c847b6d5e (diff)
downloadcpython-5ebfa840a1c9967da299356733da41b532688988.zip
cpython-5ebfa840a1c9967da299356733da41b532688988.tar.gz
cpython-5ebfa840a1c9967da299356733da41b532688988.tar.bz2
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
Diffstat (limited to 'Doc/library/re.rst')
-rw-r--r--Doc/library/re.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/re.rst b/Doc/library/re.rst
index 4ac5dee..5ef72b5 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.