MCPcopy Index your code
hub / github.com/RustPython/RustPython / load_obj

Method load_obj

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

Source from the content-addressed store, hash-verified

1615 dispatch[INST[0]] = load_inst
1616
1617 def load_obj(self):
1618 # Stack is ... markobject classobject arg1 arg2 ...
1619 args = self.pop_mark()
1620 cls = args.pop(0)
1621 self._instantiate(cls, args)
1622 dispatch[OBJ[0]] = load_obj
1623
1624 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