emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] emacs-25 40bfebe 2/2: Add Python 3.5 keyword "await"


From: John Wiegley
Subject: [Emacs-diffs] emacs-25 40bfebe 2/2: Add Python 3.5 keyword "await"
Date: Tue, 26 Apr 2016 17:50:38 +0000

branch: emacs-25
commit 40bfebec83b7571b4ee5e3140e2b5a99105325bd
Author: Jorgen Schaefer <address@hidden>
Commit: John Wiegley <address@hidden>

    Add Python 3.5 keyword "await"
    
    * lisp/progmodes/python.el (python-font-lock-keywords): Add await as
    keyword.
---
 lisp/progmodes/python.el |    1 +
 1 file changed, 1 insertion(+)

diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 9c23655..2d22bb2 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]