MCPcopy Index your code
hub / github.com/python/cpython / load_obj

Method load_obj

Lib/pickle.py:1648–1652  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1646 dispatch[INST[0]] = load_inst
1647
1648 def load_obj(self):
1649 # Stack is ... markobject classobject arg1 arg2 ...
1650 args = self.pop_mark()
1651 cls = args.pop(0)
1652 self._instantiate(cls, args)
1653 dispatch[OBJ[0]] = load_obj
1654
1655 def load_newobj(self):

Callers

nothing calls this directly

Calls 3

pop_markMethod · 0.95
_instantiateMethod · 0.95
popMethod · 0.45

Tested by

no test coverage detected