mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
star_expr now always has two nodes
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user