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

Method load_inst

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

Source from the content-addressed store, hash-verified

1608 self.append(value)
1609
1610 def load_inst(self):
1611 module = self.readline()[:-1].decode("ascii")
1612 name = self.readline()[:-1].decode("ascii")
1613 klass = self.find_class(module, name)
1614 self._instantiate(klass, self.pop_mark())
1615 dispatch[INST[0]] = load_inst
1616
1617 def load_obj(self):

Callers

nothing calls this directly

Calls 5

find_classMethod · 0.95
_instantiateMethod · 0.95
pop_markMethod · 0.95
decodeMethod · 0.45
readlineMethod · 0.45

Tested by

no test coverage detected