From: BiscuitCandy <70342294+BiscuitCandy@users.noreply.github.com> Date: Sat, 15 Oct 2022 16:04:08 +0000 (+0530) Subject: gh-98227: executionmodel.rst: except* can also bind names (#98256) X-Git-Tag: v3.12.0a1~102 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=146f168fbf5b239158922f4defd494088c381525;p=thirdparty%2FPython%2Fcpython.git gh-98227: executionmodel.rst: except* can also bind names (#98256) Co-authored-by: Jelle Zijlstra --- diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index d9183561820b..3f01180e13f7 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* ` clause, or in the as-pattern in structural pattern matching, + in a capture pattern in structural pattern matching * :keyword:`import` statements.