MCPcopy Index your code
hub / github.com/python/cpython / setstate

Method setstate

Lib/test/test_descr.py:432–433  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

430 self.assertIsInstance(key, int)
431 dict.__setitem__(self_local, key, value)
432 def setstate(self, state):
433 self.state = state
434 def getstate(self):
435 return self.state
436 self.assertIsSubclass(C, dict)

Calls

no outgoing calls

Tested by

no test coverage detected