Mercurial > cpython-lru_cache-weakref
diff Doc/api/exceptions.tex @ 25411:d2dbea17fc6f legacy-trunk
Ok, read the source this time: PyErr_SetObject() does not steal a reference.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Wed, 25 Sep 2002 02:34:27 +0000 |
| parents | dc31668a7c09 |
| children | 51828ea50b59 |
line wrap: on
line diff
--- a/Doc/api/exceptions.tex Tue Sep 24 21:09:13 2002 +0000 +++ b/Doc/api/exceptions.tex Wed Sep 25 02:34:27 2002 +0000 @@ -124,7 +124,7 @@ \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,
