

def __getitem__(self, index):
    return self._v[index]

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