try -> except -> else -> except?

David House dmhouse at gmail.com
Mon Jul 6 18:14:23 CEST 2009


2009/7/6 Python <python at rgbaz.eu>:
> as far as I know try has no 'else'

It does:
http://docs.python.org/reference/compound_stmts.html#the-try-statement

> it's 'finally'

There is a `finally', too, but they are semantically different. See
the above link.

-- 
-David



More information about the Python-list mailing list