

def __setitem__(self, index, value):
    self._v[index] = (1.0 * value)

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