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

Method load_dict

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

Source from the content-addressed store, hash-verified

1471 dispatch[LIST[0]] = load_list
1472
1473 def load_dict(self):
1474 items = self.pop_mark()
1475 d = {items[i]: items[i+1]
1476 for i in range(0, len(items), 2)}
1477 self.append(d)
1478 dispatch[DICT[0]] = load_dict
1479
1480 # INST and OBJ differ only in how they get a class object. It's not

Callers

nothing calls this directly

Calls 2

pop_markMethod · 0.95
appendMethod · 0.45

Tested by

no test coverage detected