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

Method load_global

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

Source from the content-addressed store, hash-verified

1637 dispatch[NEWOBJ_EX[0]] = load_newobj_ex
1638
1639 def load_global(self):
1640 module = self.readline()[:-1].decode("utf-8")
1641 name = self.readline()[:-1].decode("utf-8")
1642 klass = self.find_class(module, name)
1643 self.append(klass)
1644 dispatch[GLOBAL[0]] = load_global
1645
1646 def load_stack_global(self):

Callers

nothing calls this directly

Calls 4

find_classMethod · 0.95
decodeMethod · 0.45
readlineMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected