From 111ee3208f546477af15ded1f48031df8126f96e Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Wed, 25 Sep 2002 02:34:27 +0000 Subject: [PATCH] Ok, read the source this time: PyErr_SetObject() does not steal a reference. --- Doc/api/exceptions.tex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index 88bf00d102..6163666c90 100644 --- a/Doc/api/exceptions.tex +++ b/Doc/api/exceptions.tex @@ -124,7 +124,7 @@ for each thread. \begin{cfuncdesc}{void}{PyErr_SetObject}{PyObject *type, PyObject *value} This function is similar to \cfunction{PyErr_SetString()} but lets you specify an arbitrary Python object for the ``value'' of the - exception. One reference to \var{value} is stolen. + exception. \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception, -- 2.40.0