parameters: (fh, encoding: Optional[str] = None, is_verbose: bool = False)
docstring: Load a pickle, with a provided encoding,
  
      Parameters
      ----------
      fh : a filelike object
      encoding : an optional encoding
      is_verbose : show exception output
docstring_summary: Load a pickle, with a provided encoding,
docstring_tokens: Load a pickle with a provided encoding
function: def load(fh, encoding: Optional[str] = None, is_verbose: bool = False):
      """
      Load a pickle, with a provided encoding,
  
      Parameters
      ----------
      fh : a filelike object
      encoding : an optional encoding
      is_verbose : show exception output
      """
  
      try:
          fh.seek(0)
          if encoding is not None:
              up = Unpickler(fh, encoding=encoding)
          else:
              up = Unpickler(fh)
          up.is_verbose = is_verbose
  
          return up.load()
      except (ValueError, TypeError):
          raise
function_tokens: def load ( fh , encoding : Optional [ str ] = None , is_verbose : bool = False ) : try : fh . seek ( 0 ) if encoding is not None : up = Unpickler ( fh , encoding = encoding ) else : up = Unpickler ( fh ) up . is_verbose = is_verbose return up . load ( ) except ( ValueError , TypeError ) : raise