File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,9 +44,8 @@ patterns.
44
44
.. function :: fnmatch(filename, pattern)
45
45
46
46
Test whether the *filename * string matches the *pattern * string, returning
47
- :const: `True ` or :const: `False `. If the operating system is case-insensitive,
48
- then both parameters will be normalized to all lower- or upper-case before
49
- the comparison is performed. :func: `fnmatchcase ` can be used to perform a
47
+ :const: `True ` or :const: `False `. Both parameters are case-normalized
48
+ using :func: `os.path.normcase `. :func: `fnmatchcase ` can be used to perform a
50
49
case-sensitive comparison, regardless of whether that's standard for the
51
50
operating system.
52
51
@@ -64,7 +63,8 @@ patterns.
64
63
.. function :: fnmatchcase(filename, pattern)
65
64
66
65
Test whether *filename * matches *pattern *, returning :const: `True ` or
67
- :const: `False `; the comparison is case-sensitive.
66
+ :const: `False `; the comparison is case-sensitive and does not apply
67
+ :func: `os.path.normcase `.
68
68
69
69
70
70
.. function :: filter(names, pattern)
You can’t perform that action at this time.
0 commit comments