summaryrefslogtreecommitdiff
path: root/Lib/fnmatch.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2013-02-17 01:34:17 -0800
committerRaymond Hettinger <python@rcn.com>2013-02-17 01:34:17 -0800
commit1014b6c21cae26979d17adb6a282392aed88d0d3 (patch)
tree8c58d6662fc55c0802059ba590f0fab05557e3c0 /Lib/fnmatch.py
parent832eddeafbf6265b8d88b468fed9f193459b5678 (diff)
parentd0dbb20f5fcd5829f4bdc194d970d9e4d80e92bc (diff)
downloadcpython-git-1014b6c21cae26979d17adb6a282392aed88d0d3.tar.gz
merge
Diffstat (limited to 'Lib/fnmatch.py')
-rw-r--r--Lib/fnmatch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/fnmatch.py b/Lib/fnmatch.py
index f446769b9f..6330b0cfda 100644
--- a/Lib/fnmatch.py
+++ b/Lib/fnmatch.py
@@ -35,7 +35,7 @@ def fnmatch(name, pat):
pat = os.path.normcase(pat)
return fnmatchcase(name, pat)
-@functools.lru_cache(maxsize=250, typed=True)
+@functools.lru_cache(maxsize=256, typed=True)
def _compile_pattern(pat):
if isinstance(pat, bytes):
pat_str = str(pat, 'ISO-8859-1')