def p_list_for2(p):
    target = p[2]
    set_context(target, Store, p)
    gens = []
    gens.append(ast.comprehension(target=target, iter=p[4], ifs=[]))
    for item in p[5]:
        if isinstance(item, ast.comprehension):
            gens.append(item)
        else:
            gens[-1].ifs.append(item)
    p[0] = gens
list_for : FOR exprlist IN testlist_safe list_iter
dataset/ETHPy150Open nucleic/enaml/enaml/core/parser.py/p_list_for2