#NEWLINE# def p_expr2( p ) : #NEWLINE# #INDENT# ' expr : xor_expr expr_list ' #NEWLINE# node = p [ 1 ] #NEWLINE# for ( op , right ) in node [ 2 ] : #NEWLINE# #INDENT# node = ast . BinOp ( left = node , op = op , right = right ) #NEWLINE# #UNINDENT# p [ 0 ] = node