[Python-checkins] r83109 - python/branches/py3k/Doc/library/fnmatch.rst
brett.cannon
python-checkins at python.org
Fri Jul 23 18:58:21 CEST 2010
Author: brett.cannon
Date: Fri Jul 23 18:58:21 2010
New Revision: 83109
Log:
Mention in the fnmatch docs that meta-characters in translate cannot be quoted.
Closes issue 9358. Thanks to Brian Brazil for the patch.
Modified:
python/branches/py3k/Doc/library/fnmatch.rst
Modified: python/branches/py3k/Doc/library/fnmatch.rst
==============================================================================
--- python/branches/py3k/Doc/library/fnmatch.rst (original)
+++ python/branches/py3k/Doc/library/fnmatch.rst Fri Jul 23 18:58:21 2010
@@ -70,6 +70,8 @@
Return the shell-style *pattern* converted to a regular expression.
+ Be aware there is no way to quote meta-characters.
+
Example:
>>> import fnmatch, re
More information about the Python-checkins
mailing list