Performs the operation __iadd__.
(self: Array, other: Union[int, float, Array], /)
| 788 | return self.__class__._new(res) |
| 789 | |
| 790 | def __iadd__(self: Array, other: Union[int, float, Array], /) -> Array: |
| 791 | """ |
| 792 | Performs the operation __iadd__. |
| 793 | """ |
| 794 | other = self._check_allowed_dtypes(other, "numeric", "__iadd__") |
| 795 | if other is NotImplemented: |
| 796 | return other |
| 797 | self._array.__iadd__(other._array) |
| 798 | return self |
| 799 | |
| 800 | def __radd__(self: Array, other: Union[int, float, Array], /) -> Array: |
| 801 | """ |
nothing calls this directly
no test coverage detected