]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-98227: executionmodel.rst: except* can also bind names (GH-98256)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 15 Oct 2022 16:12:18 +0000 (09:12 -0700)
committerPablo Galindo <pablogsal@gmail.com>
Sat, 22 Oct 2022 19:04:38 +0000 (20:04 +0100)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 146f168fbf5b239158922f4defd494088c381525)

Co-authored-by: BiscuitCandy <70342294+BiscuitCandy@users.noreply.github.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.