Performs the operation __xor__.
(self: Array, other: Union[int, bool, Array], /)
| 777 | return self.__class__._new(res) |
| 778 | |
| 779 | def __xor__(self: Array, other: Union[int, bool, Array], /) -> Array: |
| 780 | """ |
| 781 | Performs the operation __xor__. |
| 782 | """ |
| 783 | other = self._check_allowed_dtypes(other, "integer or boolean", "__xor__") |
| 784 | if other is NotImplemented: |
| 785 | return other |
| 786 | self, other = self._normalize_two_args(self, other) |
| 787 | res = self._array.__xor__(other._array) |
| 788 | return self.__class__._new(res) |
| 789 | |
| 790 | def __iadd__(self: Array, other: Union[int, float, Array], /) -> Array: |
| 791 | """ |
nothing calls this directly
no test coverage detected