summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-10-15 16:12:18 (GMT)
committerGitHub <noreply@github.com>2022-10-15 16:12:18 (GMT)
commitc0083e6470940f4c049b4b4f52cfeb2bb96ef3c3 (patch)
tree9541efaea8800472f63f1e3113b4d73472233449
parent4e78d9482a661d700ce889e0f4197e30cf98f32b (diff)
downloadcpython-c0083e6470940f4c049b4b4f52cfeb2bb96ef3c3.zip
cpython-c0083e6470940f4c049b4b4f52cfeb2bb96ef3c3.tar.gz
cpython-c0083e6470940f4c049b4b4f52cfeb2bb96ef3c3.tar.bz2
gh-98227: executionmodel.rst: except* can also bind names (GH-98256)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 146f168fbf5b239158922f4defd494088c381525) Co-authored-by: BiscuitCandy <70342294+BiscuitCandy@users.noreply.github.com>
-rw-r--r--Doc/reference/executionmodel.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst
index d918356..3f01180 100644
--- a/Doc/reference/executionmodel.rst
+++ b/Doc/reference/executionmodel.rst
@@ -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.