From 2f93644c1dc0a513e70b86a66a052bda2d800120 Mon Sep 17 00:00:00 2001
From: Fred Drake <fdrake@acm.org>
Date: Tue, 24 Sep 2002 16:45:16 +0000
Subject: Clarify documentation for PyErr_SetObject() to describe the reference
 count behavior.

---
 Doc/api/exceptions.tex | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'Doc/api/exceptions.tex')

diff --git a/Doc/api/exceptions.tex b/Doc/api/exceptions.tex
index 80f1353f6d..88bf00d102 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,
-- 
cgit v1.2.1

