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

Method load_newobj

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

Source from the content-addressed store, hash-verified

1622 dispatch[OBJ[0]] = load_obj
1623
1624 def load_newobj(self):
1625 args = self.stack.pop()
1626 cls = self.stack.pop()
1627 obj = cls.__new__(cls, *args)
1628 self.append(obj)
1629 dispatch[NEWOBJ[0]] = load_newobj
1630
1631 def load_newobj_ex(self):

Callers

nothing calls this directly

Calls 3

popMethod · 0.45
__new__Method · 0.45
appendMethod · 0.45

Tested by

no test coverage detected