mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
com_yield_expr(): Squash new compiler wng about unreferenced local.
This commit is contained in:
parent
4e41a4b64c
commit
ea9dcdc062
1 changed files with 0 additions and 1 deletions
|
@ -3744,7 +3744,6 @@ com_return_stmt(struct compiling *c, node *n)
|
|||
static void
|
||||
com_yield_expr(struct compiling *c, node *n)
|
||||
{
|
||||
int i;
|
||||
REQ(n, yield_expr); /* 'yield' testlist */
|
||||
if (!c->c_infunction) {
|
||||
com_error(c, PyExc_SyntaxError, "'yield' outside function");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue