parameters: (self, state)
docstring: Restore the attributes from a pickled state.
docstring_summary: Restore the attributes from a pickled state.
docstring_tokens: Restore the attributes from a pickled state .
function: def __setstate__(self, state):
          """
          Restore the attributes from a pickled state.
          """
          # TODO check or discard version
          del state['_version_id']
          for key, value in state.items():
              if key not in ('__weakref__',):
                  setattr(self, key, value)
function_tokens: def __setstate__ ( self , state ) : # TODO check or discard version del state [ '_version_id' ] for key , value in state . items ( ) : if key not in ( '__weakref__' , ) : setattr ( self , key , value )