Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ iter_setstate
Method
iter_setstate
Lib/test/test_bytes.py:2902–2904 ·
view source on GitHub ↗
(b, it)
Source
from the content-addressed store, hash-verified
2900
it.__reduce__()
2901
2902
def
iter_setstate(b, it):
2903
b.wait()
2904
it.__setstate__(0)
2905
2906
def
check(funcs, it):
2907
barrier = threading.Barrier(len(funcs))
Callers
nothing calls this directly
Calls
2
wait
Method · 0.45
__setstate__
Method · 0.45
Tested by
no test coverage detected