Kaydet (Commit) 65e3ecb3 authored tarafından Terry Jan Reedy's avatar Terry Jan Reedy

Issue #22243: fix except grammar in reference.

üst 004e8704
......@@ -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`
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment