Przeglądaj źródła

Merge pull request #4212 from soof-golan/main

feat: Python 3.12 keywords support
Henning Dieterichs 1 rok temu
rodzic
commit
3fd1649231
1 zmienionych plików z 1 dodań i 0 usunięć
  1. 1 0
      src/basic-languages/python/python.ts

+ 1 - 0
src/basic-languages/python/python.ts

@@ -93,6 +93,7 @@ export const language = <languages.IMonarchLanguage>{
 		'raise',
 		'raise',
 		'return',
 		'return',
 		'try',
 		'try',
+		'type', // new in Python 3.12
 		'while',
 		'while',
 		'with',
 		'with',
 		'yield',
 		'yield',