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

Method load_int

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

Source from the content-addressed store, hash-verified

1406 dispatch[NEWTRUE[0]] = load_true
1407
1408 def load_int(self):
1409 data = self.readline()
1410 if data == FALSE[1:]:
1411 val = False
1412 elif data == TRUE[1:]:
1413 val = True
1414 else:
1415 val = int(data)
1416 self.append(val)
1417 dispatch[INT[0]] = load_int
1418
1419 def load_binint(self):

Callers

nothing calls this directly

Calls 2

readlineMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected