mirror of
https://github.com/python/cpython.git
synced 2025-11-11 14:44:57 +00:00
bpo-36645: Fix ambiguous formatting in re.sub() documentation (GH-12879)
This commit is contained in:
parent
3e986de0d6
commit
5ebfa840a1
1 changed files with 1 additions and 0 deletions
|
|
@ -908,6 +908,7 @@ form.
|
||||||
Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter
|
Unknown escapes in *repl* consisting of ``'\'`` and an ASCII letter
|
||||||
now are errors.
|
now are errors.
|
||||||
|
|
||||||
|
.. versionchanged:: 3.7
|
||||||
Empty matches for the pattern are replaced when adjacent to a previous
|
Empty matches for the pattern are replaced when adjacent to a previous
|
||||||
non-empty match.
|
non-empty match.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue