Skip to content

Commit f8940e4

Browse files
Replace Py_DECREF by Py_XDECREF
1 parent 9b14083 commit f8940e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Python/compile.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -901,7 +901,7 @@ _PyCompile_LookupArg(compiler *c, PyCodeObject *co, PyObject *name)
901901
c->u->u_metadata.u_name,
902902
co->co_name,
903903
freevars);
904-
Py_DECREF(freevars);
904+
Py_XDECREF(freevars);
905905
return ERROR;
906906
}
907907
return arg;

0 commit comments

Comments
 (0)