def __setitem__(self, index, value):
        assert isinstance(value, float), "Must be a float"
        try:
            self._c[index] = 1.0 * value
        except IndexError:
            raise IndexError( "Index must be 0, 1, 2, or 3" )
        except __HOLE__:
            raise ValueError( "Must be a number" )
dataset/ETHPy150Open PythonProgramming/Beginning-Game-Development-with-Python-and-Pygame/gameobjects/color.py/ColorRGBA.__setitem__