From 4efb5d0b82becae8435057be59e20044f22130df Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 11 Jun 2009 22:29:23 +0000 Subject: remove check for case handled in sub-function --- Python/ast.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Python/ast.c b/Python/ast.c index 2cc41b2..b3f4fcb 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -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); -- cgit v0.12