From 5ebfa840a1c9967da299356733da41b532688988 Mon Sep 17 00:00:00 2001 From: mollison Date: Sun, 21 Apr 2019 18:14:45 -0400 Subject: bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879) --- Doc/library/re.rst | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v0.12