]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Ok, read the source this time: PyErr_SetObject() does not steal a reference.
authorFred Drake <fdrake@acm.org>
Wed, 25 Sep 2002 02:34:27 +0000 (02:34 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 25 Sep 2002 02:34:27 +0000 (02:34 +0000)
Doc/api/exceptions.tex

index 88bf00d102df13135e792b5ccbb2658741c0a385..6163666c9016b0e8ea5ea0de1a2658647ac2aec8 100644 (file)
@@ -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,