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

Method load_proto

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

Source from the content-addressed store, hash-verified

1366 dispatch = {}
1367
1368 def load_proto(self):
1369 proto = self.read(1)[0]
1370 if not 0 <= proto <= HIGHEST_PROTOCOL:
1371 raise ValueError("unsupported pickle protocol: %d" % proto)
1372 self.proto = proto
1373 dispatch[PROTO[0]] = load_proto
1374
1375 def load_frame(self):

Callers

nothing calls this directly

Calls 1

readMethod · 0.45

Tested by

no test coverage detected