diff options
author | Guido van Rossum <guido@python.org> | 1995-01-27 02:40:02 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1995-01-27 02:40:02 (GMT) |
commit | f808012f5e41b491c7348f8189e37c30b7cbf1a0 (patch) | |
tree | 031cca2d30643215007ff2561d483d2104e7308e /Tools/bgen | |
parent | c2ed415a1b2f85adc41e27639d30f01c2d3a8964 (diff) | |
download | cpython-f808012f5e41b491c7348f8189e37c30b7cbf1a0.zip cpython-f808012f5e41b491c7348f8189e37c30b7cbf1a0.tar.gz cpython-f808012f5e41b491c7348f8189e37c30b7cbf1a0.tar.bz2 |
Use case-dependent variant of fnmatch
Diffstat (limited to 'Tools/bgen')
-rw-r--r-- | Tools/bgen/bgen/scantools.py | 2 |
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 = [] |