commit | e5fa5fe8fcf2a654dbae1bd6b6b49c0887d859b4 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Jun 11 16:25:52 2009 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Jun 11 16:25:52 2009 +0000 |
tree | 2227fab5a5a505c3e85faf3644a8bcb5ad803e95 | |
parent | ff1081874a2c15bd903828b4f27d62101f70f971 [diff] |
remove duplicate check
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 @@ 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 */