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.
1 parent 004e870 commit 65e3ecbCopy full SHA for 65e3ecb
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