MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / load_persid

Method load_persid

tools/python-3.11.9-amd64/Lib/pickle.py:1243–1249  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1241 dispatch[FRAME[0]] = load_frame
1242
1243 def load_persid(self):
1244 try:
1245 pid = self.readline()[:-1].decode("ascii")
1246 except UnicodeDecodeError:
1247 raise UnpicklingError(
1248 "persistent IDs in protocol 0 must be ASCII strings")
1249 self.append(self.persistent_load(pid))
1250 dispatch[PERSID[0]] = load_persid
1251
1252 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