]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
authorBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 16:58:21 +0000 (16:58 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 23 Jul 2010 16:58:21 +0000 (16:58 +0000)
Closes issue 9358. Thanks to Brian Brazil for the patch.

Doc/library/fnmatch.rst

index ec78ed2e8234079c08eacfe9486a63caf57d53f8..49073c5a2923b97e7a73bd92794d4398e4f4e188 100644 (file)
@@ -70,6 +70,8 @@ patterns.
 
    Return the shell-style *pattern* converted to a regular expression.
 
+   Be aware there is no way to quote meta-characters.
+
    Example:
 
       >>> import fnmatch, re