def __rdiv__(self, other): assert type(other) in scalar_types return Vector2(operator.div(other, self.x), operator.div(other, self.y))