summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBiscuitCandy <70342294+BiscuitCandy@users.noreply.github.com>2022-10-15 16:04:08 (GMT)
committerGitHub <noreply@github.com>2022-10-15 16:04:08 (GMT)
commit146f168fbf5b239158922f4defd494088c381525 (patch)
tree136119c250f5642091604ef06594ea50bbf4a725
parentf01b56c7bdec239abe0dae2706f8325f4336249c (diff)
downloadcpython-146f168fbf5b239158922f4defd494088c381525.zip
cpython-146f168fbf5b239158922f4defd494088c381525.tar.gz
cpython-146f168fbf5b239158922f4defd494088c381525.tar.bz2
gh-98227: executionmodel.rst: except* can also bind names (#98256)
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.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.