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

Method __setstate__

Lib/multiprocessing/queues.py:60–63  ·  view source on GitHub ↗
(self, state)

Source from the content-addressed store, hash-verified

58 self._rlock, self._wlock, self._sem, self._opid)
59
60 def __setstate__(self, state):
61 (self._ignore_epipe, self._maxsize, self._reader, self._writer,
62 self._rlock, self._wlock, self._sem, self._opid) = state
63 self._reset()
64
65 def _after_fork(self):
66 debug('Queue._after_fork()')

Callers 1

__setstate__Method · 0.45

Calls 1

_resetMethod · 0.95

Tested by

no test coverage detected