def __getitem__(self, index):
        try:
            while index >= len(self._list):
                self._list.append(self._iter.next())
        except __HOLE__:
            pass
        return self._list[index]
dataset/ETHPy150Open gooli/termenu/examples/paged_menu.py/IteratorList.__getitem__