

def GenExp(child, ctx):
    if (len(child) < 2):
        return child[0]
    if (getattr(child[1], 'value', None) != 'for'):
        return Tuple(child, ctx)
    raise NotImplementedError(child)

dataset/ETHPy150Open tailhook/pyzza/pyzza/parser.py GenExp/original