def __setitem__(self, index, obj):
    'Setindex method for the class\n\n        The operator method which is called\n        when the index of a class instance is\n        set to a value.\n        kkk[0] = test\n\n        Parameters\n        ----------\n        index: int\n            the index to address\n        obj: list\n            description of the object content\n        '
    if (index > (len(self.kvallist) - 1)):
        err_msg = (('Index ' + str(index)) + ' does not exist!')
        raise aXeError(err_msg)
    elif (not isinstance(type(self[0]), obj)):
        err_msg = 'Object: {0:s} has wrong type: {1:s}!'.format(str(obj), str(type(obj)))
        raise aXeError(err_msg)
    self.kvallist[index] = obj
Setindex method for the class

The operator method which is called
when the index of a class instance is
set to a value.
kkk[0] = test

Parameters
----------
index: int
    the index to address
obj: list
    description of the object content
def __setitem__(self, index, obj):
    'Setindex method for the class\n\n        The operator method which is called\n        when the index of a class instance is\n        set to a value.\n        kkk[0] = test\n\n        Parameters\n        ----------\n        index: int\n            the index to address\n        obj: list\n            description of the object content\n        '
    if (index > (len(self.kvallist) - 1)):
        err_msg = (('Index ' + str(index)) + ' does not exist!')
        raise aXeError(err_msg)
    elif (not isinstance(type(self[0]), obj)):
        err_msg = 'Object: {0:s} has wrong type: {1:s}!'.format(str(obj), str(type(obj)))
        raise aXeError(err_msg)
    self.kvallist[index] = obj