]> git.eshelyaron.com Git - emacs.git/commitdiff
Add 'breakpoint' to builtins for Python
authorEvan Moses <evan@emoses.org>
Thu, 21 Feb 2019 21:37:01 +0000 (13:37 -0800)
committerEli Zaretskii <eliz@gnu.org>
Fri, 1 Mar 2019 09:51:35 +0000 (11:51 +0200)
* lisp/progmodes/python.el (python-font-lock-keywords-level-2)
(python-font-lock-keywords-maxiumum-decoration): Add 'breakpoint'
to the list of builtins, it's new as of Python 3.7.

Copyright-paperwork-exempt: yes

lisp/progmodes/python.el

index 71b2a94c071dfe80da7f55a868df6a4802827bdf..65d5d90cd5f19336fd9878b4de7108420cf5fa9c 100644 (file)
@@ -575,7 +575,7 @@ class declarations.")
            "reload" "unichr" "unicode" "xrange" "apply" "buffer" "coerce"
            "intern"
            ;; Python 3:
-           "ascii" "bytearray" "bytes" "exec"
+           "ascii" "breakpoint" "bytearray" "bytes" "exec"
            ;; Extra:
            "__all__" "__doc__" "__name__" "__package__")
           symbol-end) . font-lock-builtin-face))