Mercurial > cpython-lru_cache-weakref
diff Python/ast.c @ 56238:0453d18c63a4
star_expr now always has two nodes
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Sun, 27 Sep 2009 14:08:59 +0000 |
| parents | 7ee140b7ef93 |
| children | 45fce310d479 |
line wrap: on
line diff
--- a/Python/ast.c Sun Sep 27 02:43:28 2009 +0000 +++ b/Python/ast.c Sun Sep 27 14:08:59 2009 +0000 @@ -1889,9 +1889,7 @@ 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.
