[docs] Typo
Dmitry Northerner
acmeros at gmail.com
Mon Jan 14 08:28:55 CET 2013
Hello!
I've found a little typo on the page http
://docs.python.org/2/reference/compound_stmts.html#try<http://docs.python.org/2/reference/compound_stmts.html#try>
If finally <http://docs.python.org/2/reference/compound_stmts.html#finally> is
present, it specifies a ‘cleanup’ handler. The
try<http://docs.python.org/2/reference/compound_stmts.html#try> clause
is executed, including any
except<http://docs.python.org/2/reference/compound_stmts.html#except>
and else <http://docs.python.org/2/reference/compound_stmts.html#else>
clauses.
If an exception occurs in any of the clauses and is not handled, the
exception is temporarily saved. The
finally<http://docs.python.org/2/reference/compound_stmts.html#finally>
clause
is executed. If there is a saved exception, it is re-raised at the end of
the finally <http://docs.python.org/2/reference/compound_stmts.html#finally>
clause.
If the finally<http://docs.python.org/2/reference/compound_stmts.html#finally>
clause
raises another exception or executes a
return<http://docs.python.org/2/reference/simple_stmts.html#return>
or break <http://docs.python.org/2/reference/simple_stmts.html#break>statement,
the saved exception is !!!dicarded!!!: (I guess, here should be -
discarded)
Thanks for your great job, because we all need documentation...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20130114/5ac6a76e/attachment.html>
More information about the docs
mailing list