Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8d2d889 + 65e3ecb commit 5231369Copy full SHA for 5231369
1 file changed
Doc/reference/compound_stmts.rst
@@ -234,7 +234,7 @@ for a group of statements:
234
.. productionlist::
235
try_stmt: try1_stmt | try2_stmt
236
try1_stmt: "try" ":" `suite`
237
- : ("except" [`expression` ["as" `target`]] ":" `suite`)+
+ : ("except" [`expression` ["as" `identifier`]] ":" `suite`)+
238
: ["else" ":" `suite`]
239
: ["finally" ":" `suite`]
240
try2_stmt: "try" ":" `suite`
0 commit comments