aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python
diff options
context:
space:
mode:
Diffstat (limited to 'Python')
-rw-r--r--Python/codegen.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/Python/codegen.c b/Python/codegen.c
index 379d37c65ca..35b46dcdc40 100644
--- a/Python/codegen.c
+++ b/Python/codegen.c
@@ -4775,10 +4775,7 @@ codegen_comprehension(compiler *c, expr_ty e, int type,
}
Py_CLEAR(co);
- if (codegen_comprehension_iter(c, outermost)) {
- goto error;
- }
-
+ VISIT(c, expr, outermost->iter);
ADDOP_I(c, loc, CALL, 0);
if (is_async_comprehension && type != COMP_GENEXP) {