1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00

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:
kobarity 2024-04-30 14:10:57 +09:00 committed by Eli Zaretskii
parent ef6ffbdc79
commit d15efe965d

View file

@ -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"
))