]> code.delx.au - gnu-emacs/commitdiff
Add Python 3.5 keyword "await"
authorJorgen Schaefer <contact@jorgenschaefer.de>
Thu, 21 Apr 2016 08:00:39 +0000 (10:00 +0200)
committerJohn Wiegley <johnw@newartisans.com>
Tue, 26 Apr 2016 17:50:30 +0000 (13:50 -0400)
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.

lisp/progmodes/python.el

index 9c23655b91139d3ac4d4f23c271b194323cf9c23..2d22bb2ce88901972476f16279f23d998a23c6de 100644 (file)
@@ -524,6 +524,7 @@ The type returned can be `comment', `string' or `paren'."
           "nonlocal"
           ;; Python 3.5+ PEP492
           (and "async" (+ space) (or "def" "for" "with"))
+          "await"
           ;; Extra:
           "self")
          symbol-end)