emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master d15efe965d8: Add ExceptionGroup as a Python keyword


From: Eli Zaretskii
Subject: master d15efe965d8: Add ExceptionGroup as a Python keyword
Date: Thu, 2 May 2024 05:37:02 -0400 (EDT)

branch: master
commit d15efe965d8317bb5413a8aa8caabcb9f5382206
Author: kobarity <kobarity@gmail.com>
Commit: Eli Zaretskii <eliz@gnu.org>

    Add ExceptionGroup as a Python keyword
    
    * lisp/progmodes/python.el
    (python-font-lock-keywords-maximum-decoration)
    (python--treesit-exceptions): Add ExceptionGroup.  (Bug#70653)
---
 lisp/progmodes/python.el | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 4ff5e9d4878..ecbec18f518 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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"
     ))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]