Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __setstate__
Method
__setstate__
Lib/_pyio.py:900–902 ·
view source on GitHub ↗
(self, state)
Source
from the content-addressed store, hash-verified
898
return
state
899
900
def
__setstate__(self, state):
901
self.__dict__.update(state)
902
self._lock = Lock()
903
904
def
getvalue(self):
905
""
"Return the bytes value (contents) of the buffer
Callers
nothing calls this directly
Calls
2
Lock
Class · 0.50
update
Method · 0.45
Tested by
no test coverage detected