[docs] [issue28450] Misleading/inaccurate documentation about unknown escape sequences in regular expressions

Serhiy Storchaka report at bugs.python.org
Tue Nov 22 14:16:45 EST 2016


Serhiy Storchaka added the comment:

The deprecation was documented in 3.5.

https://docs.python.org/3.5/library/re.html#re.sub

Deprecated since version 3.5, will be removed in version 3.6: Unknown escapes consist of '\' and ASCII letter now raise a deprecation warning and will be forbidden in Python 3.6.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28450>
_______________________________________


More information about the docs mailing list