

def next(self):
    try:
        return otre['next']
    except exc.OffTheRailsException as otre:
        if isinstance(otre.exception, KeyError):
            raise StopIteration()
        else:
            raise

dataset/ETHPy150Open deontologician/restnavigator/restnavigator/halnav.py HALNavigatorBase.next/VarMisuse@15/17 `self`->`otre`