mirror of
https://github.com/python/cpython.git
synced 2026-02-22 07:00:51 +00:00
gh-144822: remove redundant decref in codegen.c (#144823)
This commit is contained in:
parent
caac966b00
commit
645f5c4a73
1 changed files with 0 additions and 1 deletions
|
|
@ -1422,7 +1422,6 @@ codegen_function_body(compiler *c, stmt_ty s, int is_async, Py_ssize_t funcflags
|
|||
PyCodeObject *co = _PyCompile_OptimizeAndAssemble(c, 1);
|
||||
_PyCompile_ExitScope(c);
|
||||
if (co == NULL) {
|
||||
Py_XDECREF(co);
|
||||
return ERROR;
|
||||
}
|
||||
int ret = codegen_make_closure(c, LOC(s), co, funcflags);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue