MCPcopy Index your code
hub / github.com/python/cpython / fnmatchcase

Function fnmatchcase

Lib/fnmatch.py:85–92  ·  view source on GitHub ↗

Test whether FILENAME matches PATTERN, including case. This is a version of fnmatch() which doesn't case-normalize its arguments.

(name, pat)

Source from the content-addressed store, hash-verified

83
84
85def fnmatchcase(name, pat):
86 """Test whether FILENAME matches PATTERN, including case.
87
88 This is a version of fnmatch() which doesn't case-normalize
89 its arguments.
90 """
91 match = _compile_pattern(pat)
92 return match(name) is not None
93
94
95def translate(pat):

Callers 2

shouldIncludeMethodMethod · 0.90
fnmatchFunction · 0.85

Calls 2

matchFunction · 0.85
_compile_patternFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…