[Python-checkins] python/dist/src/Doc/api exceptions.tex,1.11,1.12
fdrake@users.sourceforge.net
fdrake@users.sourceforge.net
2002年10月24日 13:54:21 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv7058
Modified Files:
exceptions.tex
Log Message:
Correct the description of PyErr_Restore().
Closes SF bug #577000.
Index: exceptions.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/exceptions.tex,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** exceptions.tex 25 Sep 2002 02:34:27 -0000 1.11
--- exceptions.tex 24 Oct 2002 20:54:18 -0000 1.12
***************
*** 103,108 ****
\NULL, the error indicator is cleared. Do not pass a \NULL{} type
and non-\NULL{} value or traceback. The exception type should be a
! string or class; if it is a class, the value should be an instance
! of that class. Do not pass an invalid exception type or value.
(Violating these rules will cause subtle problems later.) This call
takes away a reference to each object: you must own a reference to
--- 103,107 ----
\NULL, the error indicator is cleared. Do not pass a \NULL{} type
and non-\NULL{} value or traceback. The exception type should be a
! string or class. Do not pass an invalid exception type or value.
(Violating these rules will cause subtle problems later.) This call
takes away a reference to each object: you must own a reference to
***************
*** 111,115 ****
function. I warned you.) \note{This function is normally only used
by code that needs to save and restore the error indicator
! temporarily.}
\end{cfuncdesc}
--- 110,115 ----
function. I warned you.) \note{This function is normally only used
by code that needs to save and restore the error indicator
! temporarily; use \cfunction{PyErr_Fetch()} to save the current
! exception state.}
\end{cfuncdesc}