]> git.eshelyaron.com Git - emacs.git/commit
Add all exceptions up to Python 3.13 as keywords
authorStefan Kangas <stefankangas@gmail.com>
Sat, 21 Sep 2024 12:13:47 +0000 (14:13 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 23 Sep 2024 10:45:27 +0000 (12:45 +0200)
commit27a726ffe1b730125062b04a7469819dabc0630c
tree9a6a66c39d6f82c7d18a6e60e80ee5e2504b2667
parenta437299440e17f476ed4be43bff29dc08769731f
Add all exceptions up to Python 3.13 as keywords

* lisp/progmodes/python.el
(python-font-lock-keywords-maximum-decoration)
(python--treesit-exceptions): Add all built-in exceptions in Python 3.13
as keywords.  Missing from the list was "BaseExceptionGroup",
"EncodingWarning", "ModuleNotFoundError", and "PythonFinalizationError".

(cherry picked from commit 7aa5876cdf3df3ac0fa67a1dd06b49077dd0b8cf)
lisp/progmodes/python.el