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

Method load_put

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

Source from the content-addressed store, hash-verified

1781 dispatch[LONG_BINGET[0]] = load_long_binget
1782
1783 def load_put(self):
1784 i = int(self.readline()[:-1])
1785 if i < 0:
1786 raise ValueError("negative PUT argument")
1787 self.memo[i] = self.stack[-1]
1788 dispatch[PUT[0]] = load_put
1789
1790 def load_binput(self):

Callers

nothing calls this directly

Calls 1

readlineMethod · 0.45

Tested by

no test coverage detected