Add ExceptionGroup as a Python keyword
* lisp/progmodes/python.el (python-font-lock-keywords-maximum-decoration) (python--treesit-exceptions): Add ExceptionGroup. (Bug#70653)
This commit is contained in:
@@ -785,6 +785,7 @@ sign in chained assignment."
|
||||
"InterruptedError" "IsADirectoryError" "NotADirectoryError"
|
||||
"PermissionError" "ProcessLookupError" "RecursionError"
|
||||
"ResourceWarning" "StopAsyncIteration" "TimeoutError"
|
||||
"ExceptionGroup"
|
||||
;; OS specific
|
||||
"VMSError" "WindowsError"
|
||||
)
|
||||
@@ -1052,6 +1053,7 @@ It makes underscores and dots word constituent chars.")
|
||||
"InterruptedError" "IsADirectoryError" "NotADirectoryError"
|
||||
"PermissionError" "ProcessLookupError" "RecursionError"
|
||||
"ResourceWarning" "StopAsyncIteration" "TimeoutError"
|
||||
"ExceptionGroup"
|
||||
;; OS specific
|
||||
"VMSError" "WindowsError"
|
||||
))
|
||||
|
||||
Reference in New Issue
Block a user