

def Power(child, ctx):
    if (len(child) < 2):
        return child[0]
    res = child[0]
    for n in child[1:]:
        res = GenericNode([res, n], ('', (res.lineno, res.col)))
    return res

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