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

Method load_additems

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

Source from the content-addressed store, hash-verified

1699 dispatch[SETITEMS[0]] = load_setitems
1700
1701 def load_additems(self):
1702 items = self.pop_mark()
1703 set_obj = self.stack[-1]
1704 if isinstance(set_obj, set):
1705 set_obj.update(items)
1706 else:
1707 add = set_obj.add
1708 for item in items:
1709 add(item)
1710 dispatch[ADDITEMS[0]] = load_additems
1711
1712 def load_build(self):

Callers

nothing calls this directly

Calls 3

pop_markMethod · 0.95
addFunction · 0.70
updateMethod · 0.45

Tested by

no test coverage detected