summaryrefslogtreecommitdiffstats
path: root/Python/ast.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/ast.c')
-rw-r--r--Python/ast.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c
index 97b57ec..dfcc8e3 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.