[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.3.6.1,1.3.6.2
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Tue, 24 Sep 2002 09:44:58 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv32357
Modified Files:
Tag: release22-maint
exceptions.tex
Log Message:
Clarify documentation for PyErr_SetObject() to describe the reference
count behavior.
Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.3.6.1
retrieving revision 1.3.6.2
diff -C2 -d -r1.3.6.1 -r1.3.6.2
*** exceptions.tex 27 Mar 2002 14:08:21 -0000 1.3.6.1
--- exceptions.tex 24 Sep 2002 16:44:56 -0000 1.3.6.2
***************
*** 125,129 ****
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.
\end{cfuncdesc}
--- 125,129 ----
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.
\end{cfuncdesc}