'x.__rdiv__(y) <=> x/=y'

def __idiv__(self, other):

    if (not self.writable):
        raise ValueError('trying    to    divide    from    a    readonly    NDArray')
    if isinstance(other, NDArray):
        return broadcast_div(self, other, out=self)
    elif isinstance(other, numeric_types):
        return _internal._div_scalar(self, float(other), out=self)
    else:
        raise TypeError(('type    %s    not    supported' % str(type(other))))
