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

Method __getstate__

Lib/multiprocessing/heap.py:53–55  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

51 self._state = (self.size, self.name)
52
53 def __getstate__(self):
54 assert_spawning(self)
55 return self._state
56
57 def __setstate__(self, state):
58 self.size, self.name = self._state = state

Callers

nothing calls this directly

Calls 1

assert_spawningFunction · 0.85

Tested by

no test coverage detected