

def cleanup_sequence(rule, lst):
    if (len(lst) == 1):
        return lst[0]
    return parsetree.Sequence(lst, *tuple(lst))

dataset/ETHPy150Open smurfix/yapps/yapps/grammar.py cleanup_sequence/VarMisuse@36/40 `rule`->`lst`