summaryrefslogtreecommitdiffstats
path: root/Doc/ext
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-11-18 06:50:19 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-11-18 06:50:19 (GMT)
commit2a216794f044ea8ff3a8880e9a978c5c912d23d1 (patch)
tree2e0cc2b30ededf10a49ad5539419c04c9c1e9e5d /Doc/ext
parent83e4a146dbc8bd66af8e691706292bc08ef09f56 (diff)
downloadcpython-2a216794f044ea8ff3a8880e9a978c5c912d23d1.zip
cpython-2a216794f044ea8ff3a8880e9a978c5c912d23d1.tar.gz
cpython-2a216794f044ea8ff3a8880e9a978c5c912d23d1.tar.bz2
SF bug #1066036: Typo about PyErr_WriteUnraisable()
Diffstat (limited to 'Doc/ext')
-rw-r--r--Doc/ext/newtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/ext/newtypes.tex b/Doc/ext/newtypes.tex
index c0ec264..cd2c045 100644
--- a/Doc/ext/newtypes.tex
+++ b/Doc/ext/newtypes.tex
@@ -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);