diff options
author | Fred Drake <fdrake@acm.org> | 2002-09-24 16:45:16 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2002-09-24 16:45:16 (GMT) |
commit | 2f93644c1dc0a513e70b86a66a052bda2d800120 (patch) | |
tree | 35f26d9dcb10498221278b9af362ebd4ce9855ef /Doc/api/exceptions.tex | |
parent | 117ac85c4eea46935f8767abfac16625491bb7da (diff) | |
download | cpython-2f93644c1dc0a513e70b86a66a052bda2d800120.zip cpython-2f93644c1dc0a513e70b86a66a052bda2d800120.tar.gz cpython-2f93644c1dc0a513e70b86a66a052bda2d800120.tar.bz2 |
Clarify documentation for PyErr_SetObject() to describe the reference
count behavior.
Diffstat (limited to 'Doc/api/exceptions.tex')
-rw-r--r-- | Doc/api/exceptions.tex | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex index 80f1353..88bf00d 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. You need not increment its reference count. + exception. One reference to \var{value} is stolen. \end{cfuncdesc} \begin{cfuncdesc}{PyObject*}{PyErr_Format}{PyObject *exception, |