

def __sub__(self, rhs):
    return Vector2((self.x - rhs.x), (self.y - rhs.y))

dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/Chapter 6/gameobjects/vector2.py Vector2.__sub__/original