From: Fred Drake Date: Wed, 25 Sep 2002 02:33:47 +0000 (+0000) Subject: Ok, read the source this time: PyErr_SetObject() does not steal a reference. X-Git-Tag: v2.2.2b1~118 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=74f1f76ef194cf3a722c56c46f73f16194b497d4;p=thirdparty%2FPython%2Fcpython.git Ok, read the source this time: PyErr_SetObject() does not steal a reference. --- diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index b2d5f1aacc7c..e01f4559e652 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,