gh-98227: executionmodel.rst: except* can also bind names (#98256)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
BiscuitCandy 2022-10-15 21:34:08 +05:30 committed by GitHub
parent f01b56c7bd
commit 146f168fbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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.