[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.9,1.10
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
Tue, 24 Sep 2002 09:45:19 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv32621
Modified Files:
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.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** exceptions.tex 14 Aug 2002 16:06:28 -0000 1.9
--- exceptions.tex 24 Sep 2002 16:45:16 -0000 1.10
***************
*** 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}