mirror of
https://github.com/python/cpython.git
synced 2025-07-28 13:44:43 +00:00
remove check for case handled in sub-function
This commit is contained in:
parent
2742e7e584
commit
4efb5d0b82
1 changed files with 0 additions and 3 deletions
|
@ -1347,9 +1347,6 @@ ast_for_atom(struct compiling *c, const node *n)
|
|||
if (TYPE(ch) == yield_expr)
|
||||
return ast_for_expr(c, ch);
|
||||
|
||||
if ((NCH(ch) > 1) && (TYPE(CHILD(ch, 1)) == gen_for))
|
||||
return ast_for_genexp(c, ch);
|
||||
|
||||
return ast_for_testlist_gexp(c, ch);
|
||||
case LSQB: /* list (or list comprehension) */
|
||||
ch = CHILD(n, 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue