diff --git a/pep-0341.txt b/pep-0341.txt index 6574d96d5..3954980b7 100644 --- a/pep-0341.txt +++ b/pep-0341.txt @@ -81,11 +81,14 @@ Changes to the grammar would have to become - try_stmt: ('try' ':' suite (except_clause ':' suite)+ - ['else' ':' suite] ['finally' ':' suite] | - 'try' ':' suite (except_clause ':' suite)* - ['else' ':' suite] 'finally' ':' suite) - + try_stmt: 'try' ':' suite + ( + (except_clause ':' suite)+ + ['else' ':' suite] + ['finally' ':' suite] + | + 'finally' ':' suite + ) Implementation