Commit 4efb5d0b authored by Benjamin Peterson's avatar Benjamin Peterson

remove check for case handled in sub-function

parent 2742e7e5
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment