def __iter__(self):
        yield self
        last = self
        while True:
            current = last.next()
            current() # fetch if necessary
            yield current
            last = current
Part of iteration protocol
dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py/HALNavigatorBase.__iter__