MCPcopy Index your code
hub / github.com/RustPython/RustPython / load_dict

Method load_dict

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

Source from the content-addressed store, hash-verified

1584 dispatch[LIST[0]] = load_list
1585
1586 def load_dict(self):
1587 items = self.pop_mark()
1588 d = {items[i]: items[i+1]
1589 for i in range(0, len(items), 2)}
1590 self.append(d)
1591 dispatch[DICT[0]] = load_dict
1592
1593 # INST and OBJ differ only in how they get a class object. It's not

Callers

nothing calls this directly

Calls 3

pop_markMethod · 0.95
lenFunction · 0.85
appendMethod · 0.45

Tested by

no test coverage detected