

def __iter__(self):
    'Part of iteration protocol'
    (yield self)
    last = self
    while True:
        current = self.next()
        current()
        (yield current)
        last = current

dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py HALNavigatorBase.__iter__/VarMisuse@28/39 `last`->`self`