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

Method intersection_update

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

Source from the content-addressed store, hash-verified

95 __and__ = intersection
96
97 def intersection_update(self, other):
98 self.__iand__(other)
99 def __iand__(self, other):
100 self.data.intersection_update(ref(item) for item in other)
101 return self

Callers 6

__iand__Method · 0.80

Calls 1

__iand__Method · 0.95