From: Georg Brandl Date: Sun, 29 Jul 2007 09:11:19 +0000 (+0000) Subject: try-except-finally is new in 2.5. X-Git-Tag: v2.5.2c1~226 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=00247d85bdedddec53b16b5a410b9e615dfa2766;p=thirdparty%2FPython%2Fcpython.git try-except-finally is new in 2.5. (backport from rev. 56614) --- diff --git a/Doc/tut/tut.tex b/Doc/tut/tut.tex index f41770443d4a..61d0db5060a7 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):