parameters: (fp, *, fmt=None, use_builtin_types=True, dict_type=dict)
return_statement: return p.parse(fp)
docstring: Read a .plist file. 'fp' should be a readable and binary file object.
      Return the unpacked root object (which usually is a dictionary).
docstring_summary: Read a .plist file. 'fp' should be a readable and binary file object.
      Return the unpacked root object (which usually is a dictionary).
docstring_tokens: Read a . plist file . fp should be a readable and binary file object . Return the unpacked root object ( which usually is a dictionary ) .
function: def load(fp, *, fmt=None, use_builtin_types=True, dict_type=dict):
      """Read a .plist file. 'fp' should be a readable and binary file object.
      Return the unpacked root object (which usually is a dictionary).
      """
      if fmt is None:
          header = fp.read(32)
          fp.seek(0)
          for info in _FORMATS.values():
              if info['detect'](header):
                  P = info['parser']
                  break
  
          else:
              raise InvalidFileException()
  
      else:
          P = _FORMATS[fmt]['parser']
  
      p = P(use_builtin_types=use_builtin_types, dict_type=dict_type)
      return p.parse(fp)
function_tokens: def load ( fp , * , fmt = None , use_builtin_types = True , dict_type = dict ) : if fmt is None : header = fp . read ( 32 ) fp . seek ( 0 ) for info in _FORMATS . values ( ) : if info [ 'detect' ] ( header ) : P = info [ 'parser' ] break else : raise InvalidFileException ( ) else : P = _FORMATS [ fmt ] [ 'parser' ] p = P ( use_builtin_types = use_builtin_types , dict_type = dict_type ) return p . parse ( fp )