diff --git a/Doc/library/re.rst b/Doc/library/re.rst index a3f18d9558e339..f49477c5907295 100644 --- a/Doc/library/re.rst +++ b/Doc/library/re.rst @@ -1021,7 +1021,7 @@ Functions .. versionchanged:: 3.12 Group *id* can only contain ASCII digits. In :class:`bytes` replacement strings, group *name* can only contain bytes - in the ASCII range (``b'\x00'``-``b'\x7f'``) + in the ASCII range (``b'\x00'``-``b'\x7f'``). .. function:: subn(pattern, repl, string, count=0, flags=0)