def __getitem__(self, index):
    'Getindex method for the class\n\n        The operator method which is called\n        when an index is requested on a\n        class instace\n        test = kkk[0]\n\n        Parameters\n        ----------\n        index: int\n            the index to address\n\n        Returns\n        -------\n        obj: float\n            the indexed object\n        '
    if (index > (len(self.kvallist) - 1)):
        err_msg = (('Index: ' + str(index)) + ' does not exist!')
        raise aXeError(err_msg)
    return self.kvallist[index]
Getindex method for the class

The operator method which is called
when an index is requested on a
class instace
test = kkk[0]

Parameters
----------
index: int
    the index to address

Returns
-------
obj: float
    the indexed object
def __getitem__(self, index):
    'Getindex method for the class\n\n        The operator method which is called\n        when an index is requested on a\n        class instace\n        test = kkk[0]\n\n        Parameters\n        ----------\n        index: int\n            the index to address\n\n        Returns\n        -------\n        obj: float\n            the indexed object\n        '
    if (index > (len(self.kvallist) - 1)):
        err_msg = (('Index: ' + str(index)) + ' does not exist!')
        raise aXeError(err_msg)
    return self.kvallist[index]