summaryrefslogtreecommitdiffstats
path: root/Doc/api/exceptions.tex
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2002-09-24 16:45:16 (GMT)
committerFred Drake <fdrake@acm.org>2002-09-24 16:45:16 (GMT)
commit2f93644c1dc0a513e70b86a66a052bda2d800120 (patch)
tree35f26d9dcb10498221278b9af362ebd4ce9855ef /Doc/api/exceptions.tex
parent117ac85c4eea46935f8767abfac16625491bb7da (diff)
downloadcpython-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.tex2
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,