MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / load_stack_global

Method load_stack_global

tools/python-3.11.9-amd64/Lib/pickle.py:1533–1538  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1531 dispatch[GLOBAL[0]] = load_global
1532
1533 def load_stack_global(self):
1534 name = self.stack.pop()
1535 module = self.stack.pop()
1536 if type(name) is not str or type(module) is not str:
1537 raise UnpicklingError("STACK_GLOBAL requires str")
1538 self.append(self.find_class(module, name))
1539 dispatch[STACK_GLOBAL[0]] = load_stack_global
1540
1541 def load_ext1(self):

Callers

nothing calls this directly

Calls 5

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

Tested by

no test coverage detected