From defa04ec8b770e9397ab2d48ec66efd7d0346777 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 27 Sep 2009 14:08:59 +0000 Subject: [PATCH] star_expr now always has two nodes --- Python/ast.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Python/ast.c b/Python/ast.c index 97b57ec1002..dfcc8e32e15 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.