summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-27 02:40:02 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-27 02:40:02 (GMT)
commitf808012f5e41b491c7348f8189e37c30b7cbf1a0 (patch)
tree031cca2d30643215007ff2561d483d2104e7308e /Tools
parentc2ed415a1b2f85adc41e27639d30f01c2d3a8964 (diff)
downloadcpython-f808012f5e41b491c7348f8189e37c30b7cbf1a0.zip
cpython-f808012f5e41b491c7348f8189e37c30b7cbf1a0.tar.gz
cpython-f808012f5e41b491c7348f8189e37c30b7cbf1a0.tar.bz2
Use case-dependent variant of fnmatch
Diffstat (limited to 'Tools')
-rw-r--r--Tools/bgen/bgen/scantools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py
index d6ee88c..6919ad9 100644
--- a/Tools/bgen/bgen/scantools.py
+++ b/Tools/bgen/bgen/scantools.py
@@ -315,7 +315,7 @@ class Scanner:
return arglist
def matcharg(self, patarg, arg):
- return len(filter(None, map(fnmatch.fnmatch, arg, patarg))) == 3
+ return len(filter(None, map(fnmatch.fnmatchcase, arg, patarg))) == 3
def substituteargs(self, pattern, replacement, old):
new = []