[Python-Dev] Pre-PEP: Unifying try-except and try-finally

Nick Coghlan ncoghlan at gmail.com
Thu May 5 17:19:13 CEST 2005


Eric Nieuwland wrote:
> Wouldn't it be easier to change it to:
> 
>          try_stmt: ('try' ':' suite (except_clause ':' suite)*
>                     ['else' ':' suite] ['finally' ':' suite] )
> ?

What does a try statement with neither an except clause nor a finally clause mean?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------
             http://boredomandlaziness.skystorm.net


More information about the Python-Dev mailing list