Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python/cpython
/ __setstate__
Method
__setstate__
Lib/test/pickletester.py:5252–5253 ·
view source on GitHub ↗
(self, state)
Source
from the content-addressed store, hash-verified
5250
self.a =
"some attribute"
5251
5252
def
__setstate__(self, state):
5253
self.a =
"BBB.__setstate__"
5254
5255
5256
def
setstate_bbb(obj, state):
Callers
15
test_recursive_repr
Method · 0.45
test_setstate
Method · 0.45
test_setstate_subclasses
Method · 0.45
test_recursive_pickle
Method · 0.45
__repr__
Method · 0.45
iter_setstate
Method · 0.45
test_bpo_31728
Method · 0.45
test_setstate_leaks
Method · 0.45
test_gh_128961
Method · 0.45
test_setstate
Method · 0.45
test_invalid_setstate
Method · 0.45
test_iterator_pickling_overflowing_index
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected