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 801c4f1 commit a48f2acCopy full SHA for a48f2ac
Modules/atexitmodule.c
@@ -161,7 +161,7 @@ atexit_callfuncs(struct atexit_state *state)
161
PyObject *res = PyObject_Call(func, args, kwargs);
162
if (res == NULL) {
163
PyErr_FormatUnraisable(
164
- "Exception ignored in atexit callback %R", the_func);
+ "Exception ignored in atexit callback %R", func);
165
}
166
else {
167
Py_DECREF(res);
0 commit comments