code: def save(cls, dct, filename):
          r
          fname = cls._parse_filename(filename=filename, ext='dct')
          dct = sanitize_dict(dct)
          with open(fname, 'wb') as f:
              pickle.dump(dct, f)
docs: r"""
          Saves data from the given dictionary into the specified file.
  
          Parameters
          ----------
          dct : dictionary
              A dictionary to save to file, presumably obtained from the
              ``to_dict`` method of this class.
  
          filename : string or path object
              The filename to store the dictionary.