Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ea9dcdc

Browse files
committed
com_yield_expr(): Squash new compiler wng about unreferenced local.
1 parent 4e41a4b commit ea9dcdc

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

Python/compile.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3744,7 +3744,6 @@ com_return_stmt(struct compiling *c, node *n)
37443744
static void
37453745
com_yield_expr(struct compiling *c, node *n)
37463746
{
3747-
int i;
37483747
REQ(n, yield_expr); /* 'yield' testlist */
37493748
if (!c->c_infunction) {
37503749
com_error(c, PyExc_SyntaxError, "'yield' outside function");

0 commit comments

Comments
 (0)