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

Method setstate

Lib/test/test_free_threading/test_io.py:90–92  ·  view source on GitHub ↗
(barrier, b, st, *ignore)

Source from the content-addressed store, hash-verified

88 b.__getstate__()
89
90 def setstate(barrier, b, st, *ignore):
91 barrier.wait()
92 b.__setstate__(st)
93
94 def sizeof(barrier, b, *ignore):
95 barrier.wait()

Callers 1

setstate_workerMethod · 0.45

Calls 2

waitMethod · 0.45
__setstate__Method · 0.45

Tested by

no test coverage detected