emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 928f519: Add Python 3.5 keyword "await"


From: Jorgen Schäfer
Subject: [Emacs-diffs] master 928f519: Add Python 3.5 keyword "await"
Date: Thu, 21 Apr 2016 08:05:52 +0000

branch: master
commit 928f51945d57a4ebb44ee2e8f1c2403b227c695e
Author: Jorgen Schaefer <address@hidden>
Commit: Jorgen Schaefer <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 375b9fe..1898e0d 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -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)



reply via email to

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