diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-06-11 22:29:23 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-06-11 22:29:23 +0000 |
commit | 4efb5d0b82becae8435057be59e20044f22130df (patch) | |
tree | 064c18cf7c546fb0c483d49c3aa0e52fcc616d7e /Python | |
parent | 2742e7e58418851d71c8d89c8b7f0b252d8ff1ff (diff) | |
download | cpython-git-4efb5d0b82becae8435057be59e20044f22130df.tar.gz |
remove check for case handled in sub-function
Diffstat (limited to 'Python')
-rw-r--r-- | Python/ast.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/Python/ast.c b/Python/ast.c index 2cc41b274f..b3f4fcb6c0 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); |