Skip to content

Commit ebc949b

Browse files
pablogsalvstinner
andauthored
Update Modules/atexitmodule.c
Co-authored-by: Victor Stinner <[email protected]>
1 parent 002b033 commit ebc949b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Modules/atexitmodule.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ atexit_callfuncs(struct atexit_state *state)
9393
continue;
9494
}
9595

96-
// Increment the refcount of cb->func as the call itself may unregister it
96+
// bpo-46025: Increment the refcount of cb->func as the call itself may unregister it
9797
PyObject* the_func = cb->func;
9898
Py_INCREF(the_func);
9999
PyObject *res = PyObject_Call(cb->func, cb->args, cb->kwargs);

0 commit comments

Comments
 (0)