diff --git a/Doc/library/re.rst b/Doc/library/re.rst index df5b547ffc8..61f62b3491f 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -245,7 +245,7 @@ The special characters are: (dot matches all), and :const:`re.X` (verbose), for the part of the expression. (The flags are described in :ref:`contents-of-module-re`.) - .. versionadded: 3.7 + .. versionadded:: 3.7 ``(?P...)`` Similar to regular parentheses, but the substring matched by the group is