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

Method __setstate__

Lib/multiprocessing/synchronize.py:388–391  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

386 self._count = 0
387
388 def __setstate__(self, state):
389 (self._parties, self._action, self._timeout,
390 self._cond, self._wrapper) = state
391 self._array = self._wrapper.create_memoryview().cast('i')
392
393 def __getstate__(self):
394 return (self._parties, self._action, self._timeout,

Callers 1

__init__Method · 0.95

Calls 2

castMethod · 0.80
create_memoryviewMethod · 0.80

Tested by

no test coverage detected