MCPcopy Index your code
hub / github.com/RustPython/RustPython / __setstate__

Method __setstate__

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

Source from the content-addressed store, hash-verified

379 self._count = 0
380
381 def __setstate__(self, state):
382 (self._parties, self._action, self._timeout,
383 self._cond, self._wrapper) = state
384 self._array = self._wrapper.create_memoryview().cast('i')
385
386 def __getstate__(self):
387 return (self._parties, self._action, self._timeout,

Callers 1

__init__Method · 0.95

Calls 2

create_memoryviewMethod · 0.80
castMethod · 0.45

Tested by

no test coverage detected