def __rmul__(self, other):
        """Return ``other * self``."""
        if getattr(other, '__array_priority__', 0) > self.__array_priority__:
            return other.__mul__(self)
        else:
            return self.__mul__(other)
def __rmul__ ( self , other ) : if getattr ( other , '__array_priority__' , 0 ) > self . __array_priority__ : return other . __mul__ ( self ) else : return self . __mul__ ( other )
Return ``other * self``.