From: Terry Jan Reedy Date: Sat, 23 Aug 2014 23:29:47 +0000 (-0400) Subject: Issue #22243: fix except grammar in reference. X-Git-Tag: v3.4.2rc1~92 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=65e3ecb3e229822d8d01b4ae1d26b300ebd79566;p=python Issue #22243: fix except grammar in reference. --- diff --git a/Doc/reference/compound_stmts.rst b/Doc/reference/compound_stmts.rst index 94b07f0be9..5dd17eb030 100644 --- a/Doc/reference/compound_stmts.rst +++ b/Doc/reference/compound_stmts.rst @@ -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`