def __setitem__(self, index, value):
    self.__field.validate_element(value)
    list.__setitem__(self, index, value)
Validate item assignment to list.
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/protorpc/protorpc/messages.py/FieldList.__setitem__