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
parent 0c9f35a9b0
commit 928f51945d

View file

@ -536,6 +536,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)