diff options
author | Guido van Rossum <guido@python.org> | 1993-10-11 12:54:58 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-10-11 12:54:58 (GMT) |
commit | 7f8765d327c9e8634da1f4d6f792897fbba216f6 (patch) | |
tree | c2f50746f2dee580bd6377ff7af2aff54ae19bcd /Doc/ref3.tex | |
parent | a9c3c22c33762699b362e7598268442fd2df9eb6 (diff) | |
download | cpython-7f8765d327c9e8634da1f4d6f792897fbba216f6.zip cpython-7f8765d327c9e8634da1f4d6f792897fbba216f6.tar.gz cpython-7f8765d327c9e8634da1f4d6f792897fbba216f6.tar.bz2 |
* ref3.tex: added cross-ref to try statement for exc handler.
* ref7.tex: added description of sys.exc_{type,value,traceback}.
* lib5.tex: rect.intersect is different now!
Diffstat (limited to 'Doc/ref3.tex')
-rw-r--r-- | Doc/ref3.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/ref3.tex b/Doc/ref3.tex index df62486..855dc82 100644 --- a/Doc/ref3.tex +++ b/Doc/ref3.tex @@ -532,12 +532,13 @@ the code object). \ttindex{f_lineno} \ttindex{f_lasti} -\item[Traceback objects] +\item[Traceback objects] \label{traceback} Traceback objects represent a stack trace of an exception. A traceback object is created when an exception occurs. When the search for an exception handler unwinds the execution stack, at each unwound level a traceback object is inserted in front of the current -traceback. When an exception handler is entered, the stack trace is +traceback. When an exception handler is entered +(see also section \ref{try}), the stack trace is made available to the program as \verb\sys.exc_traceback\. When the program contains no suitable handler, the stack trace is written (nicely formatted) to the standard error stream; if the interpreter is |