mirror of
https://github.com/python/cpython.git
synced 2025-11-12 15:09:14 +00:00
SF bug #1066036: Typo about PyErr_WriteUnraisable()
This commit is contained in:
parent
83e4a146db
commit
2a216794f0
1 changed files with 1 additions and 1 deletions
|
|
@ -1039,7 +1039,7 @@ my_dealloc(PyObject *obj)
|
||||||
|
|
||||||
cbresult = PyObject_CallObject(self->my_callback, NULL);
|
cbresult = PyObject_CallObject(self->my_callback, NULL);
|
||||||
if (cbresult == NULL)
|
if (cbresult == NULL)
|
||||||
PyErr_WriteUnraisable();
|
PyErr_WriteUnraisable(self->my_callback);
|
||||||
else
|
else
|
||||||
Py_DECREF(cbresult);
|
Py_DECREF(cbresult);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue