Skip to content
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

Add support for structural pattern matching (match...case) new in 3.10 #3005

Closed
jimmyx0x opened this issue Apr 11, 2022 · 2 comments
Closed
Labels
R: duplicate This issue or pull request already exists R: outdated Resolved or not relevant anymore. T: enhancement New feature or request

Comments

@jimmyx0x
Copy link

Is your feature request related to a problem? Please describe.

Black does not support the new structural pattern matching pattern in 3.10

Describe the solution you'd like

Add match...case to the parser

Describe alternatives you've considered

Additional context

@jimmyx0x jimmyx0x added the T: enhancement New feature or request label Apr 11, 2022
@dignissimus
Copy link
Contributor

Is this a duplicate of #2242?

@JelleZijlstra
Copy link
Collaborator

We already support this; see the issue @dignissimus linked.

@ichard26 ichard26 added R: duplicate This issue or pull request already exists R: outdated Resolved or not relevant anymore. labels Apr 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
R: duplicate This issue or pull request already exists R: outdated Resolved or not relevant anymore. T: enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants