[Python-checkins] r63175 - python/trunk/Doc/reference/executionmodel.rst
georg.brandl
python-checkins at python.org
Mon May 12 19:14:51 CEST 2008
Author: georg.brandl
Date: Mon May 12 19:14:51 2008
New Revision: 63175
Log:
#1760: try-except-finally is one statement since PEP 341.
Modified:
python/trunk/Doc/reference/executionmodel.rst
Modified: python/trunk/Doc/reference/executionmodel.rst
==============================================================================
--- python/trunk/Doc/reference/executionmodel.rst (original)
+++ python/trunk/Doc/reference/executionmodel.rst Mon May 12 19:14:51 2008
@@ -203,10 +203,10 @@
The Python interpreter raises an exception when it detects a run-time error
(such as division by zero). A Python program can also explicitly raise an
exception with the :keyword:`raise` statement. Exception handlers are specified
-with the :keyword:`try` ... :keyword:`except` 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.
+with the :keyword:`try` ... :keyword:`except` statement. The :keyword:`finally`
+clause of such a statement can be used to specify cleanup code which does not
+handle the exception, but is executed whether an exception occurred or not in
+the preceding code.
.. index:: single: termination model
More information about the Python-checkins
mailing list