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

Method update

Lib/_weakrefset.py:70–72  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

68 self.data.discard(ref(item))
69
70 def update(self, other):
71 for element in other:
72 self.add(element)
73
74 def __ior__(self, other):
75 self.update(other)

Callers 3

__init__Method · 0.95
__ior__Method · 0.95

Calls 1

addMethod · 0.95