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

Method load_dict

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

Source from the content-addressed store, hash-verified

1615 dispatch[LIST[0]] = load_list
1616
1617 def load_dict(self):
1618 items = self.pop_mark()
1619 d = {items[i]: items[i+1]
1620 for i in range(0, len(items), 2)}
1621 self.append(d)
1622 dispatch[DICT[0]] = load_dict
1623
1624 # 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