[Python-checkins] r73361 - python/trunk/Python/ast.c
benjamin.peterson
python-checkins at python.org
Thu Jun 11 18:25:53 CEST 2009
Author: benjamin.peterson
Date: Thu Jun 11 18:25:52 2009
New Revision: 73361
Log:
remove duplicate check
Modified:
python/trunk/Python/ast.c
Modified: python/trunk/Python/ast.c
==============================================================================
--- python/trunk/Python/ast.c (original)
+++ python/trunk/Python/ast.c Thu Jun 11 18:25:52 2009
@@ -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 */
More information about the Python-checkins
mailing list