From e5fa5fe8fcf2a654dbae1bd6b6b49c0887d859b4 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 11 Jun 2009 16:25:52 +0000 Subject: remove duplicate check --- Python/ast.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Python/ast.c b/Python/ast.c index 2cc41b2..8e1c530 100644 --- a/Python/ast.c +++ b/Python/ast.c @@ -2120,10 +2120,6 @@ ast_for_expr_stmt(struct compiling *c, const node *n) for (i = 0; i < NCH(n) - 2; i += 2) { expr_ty e; node *ch = CHILD(n, i); - if (TYPE(ch) == yield_expr) { - ast_error(ch, "assignment to yield expression not possible"); - return NULL; - } e = ast_for_testlist(c, ch); /* set context to assign */ -- cgit v0.12