Use case-dependent variant of fnmatch

This commit is contained in:
Guido van Rossum 1995-01-27 02:40:02 +00:00
parent c2ed415a1b
commit f808012f5e
1 changed files with 1 additions and 1 deletions

View File

@ -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 = []