Issue #22243: fix except grammar in reference.

This commit is contained in:
Terry Jan Reedy 2014-08-23 19:29:47 -04:00
parent 004e87048a
commit 65e3ecb3e2

View File

@ -234,7 +234,7 @@ for a group of statements:
.. productionlist::
try_stmt: try1_stmt | try2_stmt
try1_stmt: "try" ":" `suite`
: ("except" [`expression` ["as" `target`]] ":" `suite`)+
: ("except" [`expression` ["as" `identifier`]] ":" `suite`)+
: ["else" ":" `suite`]
: ["finally" ":" `suite`]
try2_stmt: "try" ":" `suite`