def p_expr_stmt(p): """ expr_stmt : expr_list SEMI """ assert isinstance(p[1],node.expr_list) p[0] = node.expr_stmt(expr=p[1])
def p_expr_stmt(p): """ expr_stmt : expr_list SEMI """ assert isinstance(p[1], node.expr_list) p[0] = node.expr_stmt(expr=p[1])