mirror of
https://github.com/python/cpython.git
synced 2025-07-29 06:05:00 +00:00
remove duplicate check
This commit is contained in:
parent
ff1081874a
commit
e5fa5fe8fc
1 changed files with 0 additions and 4 deletions
|
@ -2120,10 +2120,6 @@ ast_for_expr_stmt(struct compiling *c, const node *n)
|
||||||
for (i = 0; i < NCH(n) - 2; i += 2) {
|
for (i = 0; i < NCH(n) - 2; i += 2) {
|
||||||
expr_ty e;
|
expr_ty e;
|
||||||
node *ch = CHILD(n, i);
|
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);
|
e = ast_for_testlist(c, ch);
|
||||||
|
|
||||||
/* set context to assign */
|
/* set context to assign */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue