summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-07-29 09:11:15 (GMT)
committerGeorg Brandl <georg@python.org>2007-07-29 09:11:15 (GMT)
commit1ae6856522ef7ab87d96d75aad49ef982aea6e91 (patch)
treea868e9b6089eb1fad1f098c3ac233b0cd4a5722e /Doc
parent304f9ff7700e8ab60811032f817ce71ff6ec3d5b (diff)
downloadcpython-1ae6856522ef7ab87d96d75aad49ef982aea6e91.zip
cpython-1ae6856522ef7ab87d96d75aad49ef982aea6e91.tar.gz
cpython-1ae6856522ef7ab87d96d75aad49ef982aea6e91.tar.bz2
try-except-finally is new in 2.5.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/tut/tut.tex4
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex
index ee3d21c..ef4db1d 100644
--- a/Doc/tut/tut.tex
+++ b/Doc/tut/tut.tex
@@ -3765,7 +3765,9 @@ been handled by an \keyword{except} clause (or it has occurred in a
\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):