]> 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:33:47 +0000 (02:33 +0000)
committerFred Drake <fdrake@acm.org>
Wed, 25 Sep 2002 02:33:47 +0000 (02:33 +0000)
Doc/api/exceptions.tex

index b2d5f1aacc7ce7998c86cce2ca6b9f2e7de31f6f..e01f4559e652e13ba5474bf0c0d745198cd13c02 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,