SF bug #1066036: Typo about PyErr_WriteUnraisable()

This commit is contained in:
Raymond Hettinger 2004-11-18 06:50:19 +00:00
parent 83e4a146db
commit 2a216794f0
1 changed files with 1 additions and 1 deletions

View File

@ -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);