MCPcopy Index your code
hub / github.com/python/cpython / load_inst

Method load_inst

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

Source from the content-addressed store, hash-verified

1639 self.append(value)
1640
1641 def load_inst(self):
1642 module = self.readline()[:-1].decode("ascii")
1643 name = self.readline()[:-1].decode("ascii")
1644 klass = self.find_class(module, name)
1645 self._instantiate(klass, self.pop_mark())
1646 dispatch[INST[0]] = load_inst
1647
1648 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