Skip to content

Commit

Permalink
pythongh-98227: executionmodel.rst: except* can also bind names (pyth…
Browse files Browse the repository at this point in the history
…on#98256)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
  • Loading branch information
BiscuitCandy and JelleZijlstra committed Oct 15, 2022
1 parent f01b56c commit 146f168
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/reference/executionmodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ The following constructs bind names:

+ :keyword:`for` loop header,
+ after :keyword:`!as` in a :keyword:`with` statement, :keyword:`except`
clause or in the as-pattern in structural pattern matching,
clause, :keyword:`except* <except_star>` clause, or in the as-pattern in structural pattern matching,
+ in a capture pattern in structural pattern matching

* :keyword:`import` statements.
Expand Down

0 comments on commit 146f168

Please sign in to comment.