From: Benjamin Peterson Date: Sun, 27 Sep 2009 14:08:59 +0000 (+0000) Subject: star_expr now always has two nodes X-Git-Tag: v3.2a1~2485 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=defa04ec8b770e9397ab2d48ec66efd7d0346777;p=thirdparty%2FPython%2Fcpython.git star_expr now always has two nodes --- diff --git a/Python/ast.c b/Python/ast.c index 97b57ec10027..dfcc8e32e150 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -1889,9 +1889,7 @@ ast_for_expr(struct compiling *c, const node *n) break; case star_expr: - if (TYPE(CHILD(n, 0)) == STAR) - return ast_for_starred(c, n); - /* Fall through to generic case. */ + return ast_for_starred(c, n); /* The next five cases all handle BinOps. The main body of code is the same in each case, but the switch turned inside out to reuse the code for each type of operator.