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

Method __ixor__

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

Source from the content-addressed store, hash-verified

128 def symmetric_difference_update(self, other):
129 self.__ixor__(other)
130 def __ixor__(self, other):
131 if self is other:
132 self.data.clear()
133 else:
134 self.data.symmetric_difference_update(ref(item, self._remove) for item in other)
135 return self
136
137 def union(self, other):
138 return self.__class__(e for s in (self, other) for e in s)

Callers 1

Calls 2

clearMethod · 0.45

Tested by

no test coverage detected