Cannot parse Python 3.10 keywords Eg: match #2531
Labels
C: parser
How we parse code. Or fail to parse it.
R: duplicate
This issue or pull request already exists
T: bug
Something isn't working
Describe the bug
Python 3.10 keywords aren't recognized
To Reproduce
Run black when
match
keyword is present in the fileFor example:
sample.py
havingmatch
keywordblack -l 80 sample.py
Expected behavior
Black formatter should format 3.10 related syntax/keywords too.
Environment (please complete the following information):
Does this bug also happen on main? Yes
The text was updated successfully, but these errors were encountered: