(name, pat)
return match(name) is not None
Test whether FILENAME matches PATTERN, including case.

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

    This is a version of fnmatch() which doesn't case-normalize
    its arguments.
    """
    match = _compile_pattern(pat, isinstance(pat, bytes))
    return match(name) is not None
def fnmatchcase ( name , pat ) : match = _compile_pattern ( pat , isinstance ( pat , bytes ) ) return match ( name ) is not None