MCPcopy Create free account
hub / github.com/numpy/numpy / __ixor__

Method __ixor__

numpy/array_api/_array_object.py:1047–1055  ·  view source on GitHub ↗

Performs the operation __ixor__.

(self: Array, other: Union[int, bool, Array], /)

Source from the content-addressed store, hash-verified

1045 return self.__class__._new(res)
1046
1047 def __ixor__(self: Array, other: Union[int, bool, Array], /) -> Array:
1048 """
1049 Performs the operation __ixor__.
1050 """
1051 other = self._check_allowed_dtypes(other, "integer or boolean", "__ixor__")
1052 if other is NotImplemented:
1053 return other
1054 self._array.__ixor__(other._array)
1055 return self
1056
1057 def __rxor__(self: Array, other: Union[int, bool, Array], /) -> Array:
1058 """

Callers

nothing calls this directly

Calls 1

_check_allowed_dtypesMethod · 0.95

Tested by

no test coverage detected