Skip to content

Add 'except* clause' to Language doc 4.2.1. #98227

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
mrolle45 opened this issue Oct 12, 2022 · 0 comments · Fixed by #98256
Closed

Add 'except* clause' to Language doc 4.2.1. #98227

mrolle45 opened this issue Oct 12, 2022 · 0 comments · Fixed by #98256
Labels
3.11 only security fixes 3.12 only security fixes docs Documentation in the Doc dir easy

Comments

@mrolle45
Copy link

Documentation

4.2.1 Binding of Names reads, in part:

The following constructs bind names:

  • targets that are identifiers if occurring in an assignment:
    • after as in a with statement, except clause or in the as-pattern in structural pattern matching,

You left out "except* clause". The text should read:

The following constructs bind names:

  • targets that are identifiers if occurring in an assignment:
    • after as in a with statement, except clause, or except* clause, or in the as-pattern in structural pattern matching,

I suggest you scan the entire documentation for any other references to the except clause that should also include the except* clause.

@mrolle45 mrolle45 added the docs Documentation in the Doc dir label Oct 12, 2022
@iritkatriel iritkatriel added easy needs backport to 3.11 only security fixes 3.11 only security fixes 3.12 only security fixes labels Oct 12, 2022
@AlexWaygood AlexWaygood removed the needs backport to 3.11 only security fixes label Oct 12, 2022
JelleZijlstra added a commit that referenced this issue Oct 15, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Oct 15, 2022
…onGH-98256)

Co-authored-by: Jelle Zijlstra <[email protected]>
(cherry picked from commit 146f168)

Co-authored-by: BiscuitCandy <[email protected]>
miss-islington added a commit that referenced this issue Oct 15, 2022
Co-authored-by: Jelle Zijlstra <[email protected]>
(cherry picked from commit 146f168)

Co-authored-by: BiscuitCandy <[email protected]>
pablogsal pushed a commit that referenced this issue Oct 22, 2022
Co-authored-by: Jelle Zijlstra <[email protected]>
(cherry picked from commit 146f168)

Co-authored-by: BiscuitCandy <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.11 only security fixes 3.12 only security fixes docs Documentation in the Doc dir easy
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants