def __setitem__(self, ind, value):
        self.V[ind] =  value
This is called when using square bracket notation and sets the value
dataset/ETHPy150Open charanpald/APGL/apgl/graph/VertexList.py/VertexList.__setitem__