Skip to content

Commit 5ebfa84

Browse files
mollisonberkerpeksag
authored andcommitted
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
1 parent 3e986de commit 5ebfa84

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
@@ -908,6 +908,7 @@ form.
908908
Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter
909909
now are errors.
910910

911+
.. versionchanged:: 3.7
911912
Empty matches for the pattern are replaced when adjacent to a previous
912913
non-empty match.
913914

0 commit comments

Comments
 (0)