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:
parent
ef6ffbdc79
commit
d15efe965d
1 changed files with 2 additions and 0 deletions
|
|
@ -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"
|
||||
))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue