MCPcopy Create free account
hub / github.com/pydata/numexpr / __setstate__

Method __setstate__

numexpr3/ne3compiler.py:458–465  ·  view source on GitHub ↗

Restores NumExpr object via `neObj = pickle.loads(pickledBytes)`

(self, state)

Source from the content-addressed store, hash-verified

456 return pickleDict
457
458 def __setstate__(self, state):
459 '''
460 Restores NumExpr object via `neObj = pickle.loads(pickledBytes)`
461 '''
462 self.__dict__ = state
463 call_frame = sys._getframe(state['_stackDepth'])
464 self.local_dict = call_frame.f_locals
465 self._global_dict = call_frame.f_globals
466
467
468 def _assemble(self):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected