Commit 2a216794 authored by Raymond Hettinger's avatar Raymond Hettinger

SF bug #1066036: Typo about PyErr_WriteUnraisable()

parent 83e4a146
......@@ -1039,7 +1039,7 @@ my_dealloc(PyObject *obj)
cbresult = PyObject_CallObject(self->my_callback, NULL);
if (cbresult == NULL)
PyErr_WriteUnraisable();
PyErr_WriteUnraisable(self->my_callback);
else
Py_DECREF(cbresult);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment