Performs the operation __and__.
(self: Array, other: Union[int, bool, Array], /)
| 443 | return self.__class__._new(res) |
| 444 | |
| 445 | def __and__(self: Array, other: Union[int, bool, Array], /) -> Array: |
| 446 | """ |
| 447 | Performs the operation __and__. |
| 448 | """ |
| 449 | other = self._check_allowed_dtypes(other, "integer or boolean", "__and__") |
| 450 | if other is NotImplemented: |
| 451 | return other |
| 452 | self, other = self._normalize_two_args(self, other) |
| 453 | res = self._array.__and__(other._array) |
| 454 | return self.__class__._new(res) |
| 455 | |
| 456 | def __array_namespace__( |
| 457 | self: Array, /, *, api_version: Optional[str] = None |
nothing calls this directly
no test coverage detected