From f808012f5e41b491c7348f8189e37c30b7cbf1a0 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Fri, 27 Jan 1995 02:40:02 +0000 Subject: [PATCH] Use case-dependent variant of fnmatch --- Tools/bgen/bgen/scantools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/bgen/bgen/scantools.py b/Tools/bgen/bgen/scantools.py index d6ee88c3f57..6919ad9e684 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 = []