]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-98227: executionmodel.rst: except* can also bind names (#98256)
authorBiscuitCandy <70342294+BiscuitCandy@users.noreply.github.com>
Sat, 15 Oct 2022 16:04:08 +0000 (21:34 +0530)
committerGitHub <noreply@github.com>
Sat, 15 Oct 2022 16:04:08 +0000 (09:04 -0700)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Doc/reference/executionmodel.rst

index d9183561820b2beedbb200068775e3862bab9f0a..3f01180e13f776614d9bd3041e114f447e054dcd 100644 (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.