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

Method __setstate__

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

Source from the content-addressed store, hash-verified

322 return Queue.__getstate__(self) + (self._cond, self._unfinished_tasks)
323
324 def __setstate__(self, state):
325 Queue.__setstate__(self, state[:-2])
326 self._cond, self._unfinished_tasks = state[-2:]
327
328 def put(self, obj, block=True, timeout=None):
329 if self._closed:

Callers

nothing calls this directly

Calls 1

__setstate__Method · 0.45

Tested by

no test coverage detected