MCPcopy 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
5256def setstate_bbb(obj, state):

Callers 15

test_recursive_reprMethod · 0.45
test_setstateMethod · 0.45
test_recursive_pickleMethod · 0.45
__repr__Method · 0.45
iter_setstateMethod · 0.45
test_bpo_31728Method · 0.45
test_setstate_leaksMethod · 0.45
test_gh_128961Method · 0.45
test_setstateMethod · 0.45
test_invalid_setstateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected