Skip to content

bpo-44025: Clarify when '_' is a keyword.#25873

Merged
ambv merged 2 commits intopython:mainfrom
terryjreedy:underscore
May 4, 2021
Merged

bpo-44025: Clarify when '_' is a keyword.#25873
ambv merged 2 commits intopython:mainfrom
terryjreedy:underscore

Conversation

@terryjreedy
Copy link
Copy Markdown
Member

@terryjreedy terryjreedy commented May 4, 2021

In match statements, in case patterns and nowhere else.

https://bugs.python.org/issue44025

In match statements, in case patterns and nowhere else.
Comment thread Doc/reference/compound_stmts.rst Outdated
Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
@python python deleted a comment May 4, 2021
@ambv ambv merged commit 3b200b2 into python:main May 4, 2021
@bedevere-bot
Copy link
Copy Markdown

@ambv: Please replace # with GH- in the commit message next time. Thanks!

@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @terryjreedy for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

@miss-islington
Copy link
Copy Markdown
Contributor

Sorry @terryjreedy and @ambv, I had trouble checking out the 3.10 backport branch.
Please backport using cherry_picker on command line.
cherry_picker 3b200b2aa648fcc8a2673871807c1463afe00195 3.10

@ambv ambv assigned terryjreedy and unassigned ambv May 4, 2021
Comment thread Doc/reference/compound_stmts.rst
@terryjreedy terryjreedy deleted the underscore branch May 4, 2021 11:14
@terryjreedy terryjreedy added needs backport to 3.10 only security fixes and removed needs backport to 3.10 only security fixes labels May 4, 2021
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @terryjreedy for the PR, and @ambv for merging it 🌮🎉.. I'm working now to backport this PR to: 3.10.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 4, 2021
In match statements, in case patterns and nowhere else.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 3b200b2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link
Copy Markdown

GH-25888 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label May 4, 2021
miss-islington added a commit that referenced this pull request May 4, 2021
In match statements, in case patterns and nowhere else.

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
(cherry picked from commit 3b200b2)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants