Add Python 3.5 keyword "await"

* lisp/progmodes/python.el (python-font-lock-keywords): Add await as
keyword.
This commit is contained in:
Jorgen Schaefer 2016-04-21 10:00:39 +02:00 committed by John Wiegley
parent fa7886a46f
commit 40bfebec83

View file

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