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        Returns\n        -------\n        key : ConfListKey\n            the indexed object\n        '
    if (index > (len(self.twodkeys) - 1)):
        err_msg = 'Index: {0:s} does not exist!'.format(str(index))
        raise aXeError(err_msg)
    return self.twodkeys[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
-------
key : ConfListKey
    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        Returns\n        -------\n        key : ConfListKey\n            the indexed object\n        '
    if (index > (len(self.twodkeys) - 1)):
        err_msg = 'Index: {0:s} does not exist!'.format(str(index))
        raise aXeError(err_msg)
    return self.twodkeys[index]