Guido van Rossum wrote:
> try_stmt: 'try' ':' suite
>             (
>                 except_clause ':' suite)+
>                 ['else' ':' suite] ['finally' ':' suite]
>             |
>                 'finally' ':' suite
>             )
>
> There is no real complexity in this grammar, it's unambiguous, it's an
> easy enough job for the code generator, and it catches a certain class
> of mistakes (like mis-indenting some code).

Fair enough. Always nice to have some assistence from the system.

--eric

_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to