parameters: (name, pat)
return_statement: return fnmatchcase(name, pat)
docstring: Test whether FILENAME matches PATTERN.
  
      Patterns are Unix shell style:
  
      *       matches everything
      ?       matches any single character
      [seq]   matches any character in seq
      [!seq]  matches any char not in seq
  
      An initial period in FILENAME is not special.
      Both FILENAME and PATTERN are first case-normalized
      if the operating system requires it.
      If you don't want this, use fnmatchcase(FILENAME, PATTERN).
docstring_summary: Test whether FILENAME matches PATTERN.
docstring_tokens: Test whether FILENAME matches PATTERN .
function: def fnmatch(name, pat):
      """Test whether FILENAME matches PATTERN.
  
      Patterns are Unix shell style:
  
      *       matches everything
      ?       matches any single character
      [seq]   matches any character in seq
      [!seq]  matches any char not in seq
  
      An initial period in FILENAME is not special.
      Both FILENAME and PATTERN are first case-normalized
      if the operating system requires it.
      If you don't want this, use fnmatchcase(FILENAME, PATTERN).
      """
  
      import os
      name = os.path.normcase(name)
      pat = os.path.normcase(pat)
      return fnmatchcase(name, pat)
function_tokens: def fnmatch ( name , pat ) : import os name = os . path . normcase ( name ) pat = os . path . normcase ( pat ) return fnmatchcase ( name , pat )