aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorgen Schaefer2016-04-21 10:00:39 +0200
committerJohn Wiegley2016-04-26 13:50:30 -0400
commit40bfebec83b7571b4ee5e3140e2b5a99105325bd (patch)
tree006dd387f867333b90a9ef275d23f48ce7cd0428
parentfa7886a46ff8d611cd75eaf651944f0fbc260324 (diff)
downloademacs-40bfebec83b7571b4ee5e3140e2b5a99105325bd.tar.gz
emacs-40bfebec83b7571b4ee5e3140e2b5a99105325bd.zip
Add Python 3.5 keyword "await"
* lisp/progmodes/python.el (python-font-lock-keywords): Add await as keyword.
-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 9c23655b911..2d22bb2ce88 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -524,6 +524,7 @@ The type returned can be `comment', `string' or `paren'."
524 "nonlocal" 524 "nonlocal"
525 ;; Python 3.5+ PEP492 525 ;; Python 3.5+ PEP492
526 (and "async" (+ space) (or "def" "for" "with")) 526 (and "async" (+ space) (or "def" "for" "with"))
527 "await"
527 ;; Extra: 528 ;; Extra:
528 "self") 529 "self")
529 symbol-end) 530 symbol-end)