parameters: (self, other)
return_statement: return self
docstring: Divide self by other in-place.
docstring_summary: Divide self by other in-place.
docstring_tokens: Divide self by other in - place .
function: def __idiv__(self, other):
          "Divide self by other in-place."
          other_data = getdata(other)
          dom_mask = _DomainSafeDivide().__call__(self._data, other_data)
          other_mask = getmask(other)
          new_mask = mask_or(other_mask, dom_mask)
          # The following 3 lines control the domain filling
          if dom_mask.any():
              (_, fval) = ufunc_fills[np.divide]
              other_data = np.where(dom_mask, fval, other_data)
  #        self._mask = mask_or(self._mask, new_mask)
          self._mask |= new_mask
          ndarray.__idiv__(self._data, np.where(self._mask, 1, other_data))
          return self
function_tokens: def __idiv__ ( self , other ) : other_data = getdata ( other ) dom_mask = _DomainSafeDivide ( ) . __call__ ( self . _data , other_data ) other_mask = getmask ( other ) new_mask = mask_or ( other_mask , dom_mask ) # The following 3 lines control the domain filling if dom_mask . any ( ) : ( _ , fval ) = ufunc_fills [ np . divide ] other_data = np . where ( dom_mask , fval , other_data ) #        self._mask = mask_or(self._mask, new_mask) self . _mask |= new_mask ndarray . __idiv__ ( self . _data , np . where ( self . _mask , 1 , other_data ) ) return self