mirror of https://github.com/python/cpython
gh-98227: executionmodel.rst: except* can also bind names (#98256)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
This commit is contained in:
parent
f01b56c7bd
commit
146f168fbf
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue