[Python-checkins] r56614 - python/trunk/Doc/tut/tut.tex

georg.brandl python-checkins at python.org
Sun Jul 29 11:11:16 CEST 2007


Author: georg.brandl
Date: Sun Jul 29 11:11:15 2007
New Revision: 56614

Modified:
   python/trunk/Doc/tut/tut.tex
Log:
try-except-finally is new in 2.5.


Modified: python/trunk/Doc/tut/tut.tex
==============================================================================
--- python/trunk/Doc/tut/tut.tex	(original)
+++ python/trunk/Doc/tut/tut.tex	Sun Jul 29 11:11:15 2007
@@ -3765,7 +3765,9 @@
 \keyword{finally} clause has been executed.  The \keyword{finally} clause
 is also executed ``on the way out'' when any other clause of the
 \keyword{try} statement is left via a \keyword{break}, \keyword{continue}
-or \keyword{return} statement.  A more complicated example:
+or \keyword{return} statement.  A more complicated example (having
+\keyword{except} and \keyword{finally} clauses in the same \keyword{try}
+statement works as of Python 2.5):
 
 \begin{verbatim}
 >>> def divide(x, y):


More information about the Python-checkins mailing list