aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorJorgen Schaefer2016-04-21 10:00:39 +0200
committerJorgen Schaefer2016-04-21 10:05:26 +0200
commit928f51945d57a4ebb44ee2e8f1c2403b227c695e (patch)
tree98ea72039a9002b046bcde699efbc54a3685053e /lisp/progmodes/python.el
parent0c9f35a9b00a5047c44746c373b7f9934ee424a3 (diff)
downloademacs-928f51945d57a4ebb44ee2e8f1c2403b227c695e.tar.gz
emacs-928f51945d57a4ebb44ee2e8f1c2403b227c695e.zip
Add Python 3.5 keyword "await"
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as keyword.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 375b9fedc9d..1898e0d3b8c 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -536,6 +536,7 @@ The type returned can be `comment', `string' or `paren'."
536 "nonlocal" 536 "nonlocal"
537 ;; Python 3.5+ PEP492 537 ;; Python 3.5+ PEP492
538 (and "async" (+ space) (or "def" "for" "with")) 538 (and "async" (+ space) (or "def" "for" "with"))
539 "await"
539 ;; Extra: 540 ;; Extra:
540 "self") 541 "self")
541 symbol-end) 542 symbol-end)