diff options
author | Fred Drake <fdrake@acm.org> | 2000-04-03 04:51:13 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-04-03 04:51:13 (GMT) |
commit | e15956b46515dfc5cf258b7109e2b7b330c27e5f (patch) | |
tree | 0776ca09eb49808534b37e8f5320af8da5c0290c /Doc/ref/ref4.tex | |
parent | 20082d92f2e5fc7736b3fb1839380cc7c0133165 (diff) | |
download | cpython-e15956b46515dfc5cf258b7109e2b7b330c27e5f.zip cpython-e15956b46515dfc5cf258b7109e2b7b330c27e5f.tar.gz cpython-e15956b46515dfc5cf258b7109e2b7b330c27e5f.tar.bz2 |
Merged changes from the 1.5.2p2 release.
Diffstat (limited to 'Doc/ref/ref4.tex')
-rw-r--r-- | Doc/ref/ref4.tex | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/Doc/ref/ref4.tex b/Doc/ref/ref4.tex index 673fea3..636bc1d 100644 --- a/Doc/ref/ref4.tex +++ b/Doc/ref/ref4.tex @@ -183,11 +183,11 @@ statement. The \keyword{try} ... \keyword{finally} statement specifies cleanup code which does not handle the exception, but is executed whether an exception occurred or not in the preceding code. -Python uses the ``termination'' model of error handling: an exception -handler can find out what happened and continue execution at an outer -level, but it cannot repair the cause of the error and retry the -failing operation (except by re-entering the offending piece of -code from the top). +Python uses the ``termination'' \index{termination model}model of +error handling: an exception handler can find out what happened and +continue execution at an outer level, but it cannot repair the cause +of the error and retry the failing operation (except by re-entering +the offending piece of code from the top). When an exception is not handled at all, the interpreter terminates execution of the program, or returns to its interactive main loop. In @@ -210,5 +210,5 @@ selected exception handler as additional information. For class exceptions, this object must be an instance of the exception class being raised. -See also the description of the \keyword{try} and \keyword{raise} -statements in chapter \ref{compound}. +See also the description of the \keyword{try} statement in section +\ref{try} and \keyword{raise} statement in section \ref{raise}. |