[Python-checkins] CVS: python/dist/src/Doc/api init.tex,1.1,1.2
Fred L. Drake
fdrake@users.sourceforge.net
Tue, 16 Oct 2001 12:23:57 -0700
Update of /cvsroot/python/python/dist/src/Doc/api
In directory usw-pr-cvs1:/tmp/cvs-serv22855/api
Modified Files:
init.tex
Log Message:
Update the description of PyTrace_EXCEPT.
Index: init.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/api/init.tex,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** init.tex 2001/10/12 19:01:43 1.1
--- init.tex 2001/10/16 19:23:55 1.2
***************
*** 709,717 ****
\begin{cvardesc}{int}{PyTrace_EXCEPT}
The value of the \var{what} parameter to a \ctype{Py_tracefunc}
! function when an exception has been raised by Python code as the
! result of an operation. The operation may have explictly intended
! to raise the operation (as with a \keyword{raise} statement), or may
! have triggered an exception in the runtime as a result of the
! specific operation.
\end{cvardesc}
--- 709,720 ----
\begin{cvardesc}{int}{PyTrace_EXCEPT}
The value of the \var{what} parameter to a \ctype{Py_tracefunc}
! function when an exception has been raised. The callback function
! is called with this value for \var{what} when after any bytecode is
! processed after which the exception becomes set within the frame
! being executed. The effect of this is that as exception propogation
! causes the Python stack to unwind, the callback is called upon
! return to each frame as the exception propogates. Only trace
! functions receives these events; they are not needed by the
! profiler.
\end{cvardesc}