(self)
return pickle_dict
Pickle.
Pickle.
Pickle .
def __getstate__(self):
        """Pickle."""
        pickle_dict = self.__dict__.copy()
        # functools.partial objects and functions can't be pickled
        pickle_dict['_simple'] = None
        pickle_dict['_complex'] = None
        pickle_dict['_callbacks'] = None
        return pickle_dict
def __getstate__ ( self ) : pickle_dict = self . __dict__ . copy ( ) # functools.partial objects and functions can't be pickled pickle_dict [ '_simple' ] = None pickle_dict [ '_complex' ] = None pickle_dict [ '_callbacks' ] = None return pickle_dict