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

Method __xor__

Lib/_collections_abc.py:644–649  ·  view source on GitHub ↗
(self, other)

Source from the content-addressed store, hash-verified

642 if value not in self)
643
644 def __xor__(self, other):
645 if not isinstance(other, Set):
646 if not isinstance(other, Iterable):
647 return NotImplemented
648 other = self._from_iterable(other)
649 return (self - other) | (other - self)
650
651 __rxor__ = __xor__
652

Callers

nothing calls this directly

Calls 1

_from_iterableMethod · 0.95

Tested by

no test coverage detected