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

Method load_stack_global

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

Source from the content-addressed store, hash-verified

1644 dispatch[GLOBAL[0]] = load_global
1645
1646 def load_stack_global(self):
1647 name = self.stack.pop()
1648 module = self.stack.pop()
1649 if type(name) is not str or type(module) is not str:
1650 raise UnpicklingError("STACK_GLOBAL requires str")
1651 self.append(self.find_class(module, name))
1652 dispatch[STACK_GLOBAL[0]] = load_stack_global
1653
1654 def load_ext1(self):

Callers

nothing calls this directly

Calls 4

find_classMethod · 0.95
UnpicklingErrorClass · 0.85
popMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected