mirror of
https://github.com/python/cpython.git
synced 2025-07-24 19:54:21 +00:00
star_expr now always has two nodes
This commit is contained in:
parent
4905e80c3d
commit
defa04ec8b
1 changed files with 1 additions and 3 deletions
|
@ -1889,9 +1889,7 @@ ast_for_expr(struct compiling *c, const node *n)
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case star_expr:
|
case star_expr:
|
||||||
if (TYPE(CHILD(n, 0)) == STAR)
|
return ast_for_starred(c, n);
|
||||||
return ast_for_starred(c, n);
|
|
||||||
/* Fall through to generic case. */
|
|
||||||
/* The next five cases all handle BinOps. The main body of code
|
/* 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
|
is the same in each case, but the switch turned inside out to
|
||||||
reuse the code for each type of operator.
|
reuse the code for each type of operator.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue