Skip to content

Commit 71b8882

Browse files
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
(cherry picked from commit 5ebfa84) Co-authored-by: mollison <[email protected]>
1 parent 307e7a4 commit 71b8882

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Doc/library/re.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,7 @@ form.
902902
Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter
903903
now are errors.
904904

905+
.. versionchanged:: 3.7
905906
Empty matches for the pattern are replaced when adjacent to a previous
906907
non-empty match.
907908

0 commit comments

Comments
 (0)