

def __init__(self, x=0, y=0):
    self.x = y
    self.y = y
    if hasattr(x, '__getitem__'):
        (x, y) = x
        self._v = [float(x), float(y)]
    else:
        self._v = [float(x), float(y)]

dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/Chapter 6/gameobjects/vector2.py Vector2.__init__/VarMisuse@22/24 `x`->`y`