Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0837f99 commit 7fdab83Copy full SHA for 7fdab83
1 file changed
Python/compile.c
@@ -2692,8 +2692,10 @@ compiler_lambda(struct compiler *c, expr_ty e)
2692
qualname = c->u->u_qualname;
2693
Py_INCREF(qualname);
2694
compiler_exit_scope(c);
2695
- if (co == NULL)
+ if (co == NULL) {
2696
+ Py_DECREF(qualname);
2697
return 0;
2698
+ }
2699
2700
compiler_make_closure(c, co, funcflags, qualname);
2701
Py_DECREF(qualname);
0 commit comments