code: def dump(value, filename, compress=None, cache_size=None):
      
      if compress is not None or cache_size is not None:
          warnings.warn("compress and cache_size are no longer valid options")
  
      with open(filename, 'wb') as f:
          pickle.dump(value, f)
docs: Save an arbitrary python object using pickle.
  
      Parameters
      -----------
      value : any Python object
          The object to store to disk using pickle.
      filename : string
          The name of the file in which it is to be stored
      compress : None
          No longer used
      cache_size : positive number, optional
          No longer used
  
      See Also
      --------
      load : corresponding loader