Add other to self in-place.
(self, other)
| 4401 | return power(other, self) |
| 4402 | |
| 4403 | def __iadd__(self, other): |
| 4404 | """ |
| 4405 | Add other to self in-place. |
| 4406 | |
| 4407 | """ |
| 4408 | m = getmask(other) |
| 4409 | if self._mask is nomask: |
| 4410 | if m is not nomask and m.any(): |
| 4411 | self._mask = make_mask_none(self.shape, self.dtype) |
| 4412 | self._mask += m |
| 4413 | elif m is not nomask: |
| 4414 | self._mask += m |
| 4415 | other_data = getdata(other) |
| 4416 | other_data = np.where(self._mask, other_data.dtype.type(0), other_data) |
| 4417 | self._data.__iadd__(other_data) |
| 4418 | return self |
| 4419 | |
| 4420 | def __isub__(self, other): |
| 4421 | """ |
nothing calls this directly
no test coverage detected