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

Method load_persid

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

Source from the content-addressed store, hash-verified

1380 dispatch[FRAME[0]] = load_frame
1381
1382 def load_persid(self):
1383 try:
1384 pid = self.readline()[:-1].decode("ascii")
1385 except UnicodeDecodeError:
1386 raise UnpicklingError(
1387 "persistent IDs in protocol 0 must be ASCII strings")
1388 self.append(self.persistent_load(pid))
1389 dispatch[PERSID[0]] = load_persid
1390
1391 def load_binpersid(self):

Callers

nothing calls this directly

Calls 5

persistent_loadMethod · 0.95
UnpicklingErrorClass · 0.85
decodeMethod · 0.45
readlineMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected