From 1ae6856522ef7ab87d96d75aad49ef982aea6e91 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 29 Jul 2007 09:11:15 +0000 Subject: try-except-finally is new in 2.5. --- Doc/tut/tut.tex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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): -- cgit v0.12