Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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_worker
Method · 0.45
Calls
2
wait
Method · 0.45
__setstate__
Method · 0.45
Tested by
no test coverage detected