try -> except -> else -> except?

Python python at rgbaz.eu
Mon Jul 6 12:17:24 EDT 2009


On 6 jul 2009, at 18:14, David House wrote:

> 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
>
>
ah yeah you;re right, sry

shouldn't the else statement come after the except ones maybe?



More information about the Python-list mailing list