[docs] [issue22949] fnmatch.translate doesn't add ^ at the beginning

Serhiy Storchaka report at bugs.python.org
Sun Oct 16 04:52:58 EDT 2016


Serhiy Storchaka added the comment:

Since issue22493 fnmatch.translate() uses scoped modifiers: r'(?s:%s)\Z' % res.

Here is a patch that updates the documentation for fnmatch.translate().

----------
stage: needs patch -> patch review
versions: +Python 3.6, Python 3.7 -Python 3.4

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


More information about the docs mailing list