From 49c1db2a107c11c1124cd223f3c3d1de0c8d9036 Mon Sep 17 00:00:00 2001 From: xpvpc <> Date: Fri, 16 Feb 2018 10:46:49 +0100 Subject: [PATCH] Fix typo in Python3.7 doc --- Doc/whatsnew/3.7.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index c3761c565322c48..89ca5d75c85d919 100644 --- a/Doc/whatsnew/3.7.rst +++ b/Doc/whatsnew/3.7.rst @@ -1146,7 +1146,7 @@ Changes in the Python API :func:`re.sub()` now replaces empty matches adjacent to a previous non-empty match. For example ``re.sub('x*', '-', 'abxd')`` returns now - ``'-a-b--d-'`` instead of ``'-a-b--d-'`` (the first minus between 'b' and + ``'-a-b--d-'`` instead of ``'-a-b-d-'`` (the first minus between 'b' and 'd' replaces 'x', and the second minus replaces an empty string between 'x' and 'd').