python-syntax
python-syntax copied to clipboard
Added support for match and case keywords introduced in python 3.10
trafficstars
Revision 3.10 (2022-01-09):
- Add support for 'match' and 'case' keywords introduced in Python 3.10. Patch by Joaquin Bogado.
But they are actually soft keywords: you can still define a variable / attribute named match (and it's pretty common when using re).
Oh! I see. Any idea how to process them then?