diff options
author | Lele Gaifax <lele@metapensiero.it> | 2016-04-06 10:38:23 +0200 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2016-04-26 13:50:26 -0400 |
commit | fa7886a46ff8d611cd75eaf651944f0fbc260324 (patch) | |
tree | 43c0df06ac3f65e2cfbca7b9e198f302bb26a2a7 /lisp/emacs-lisp/map.el | |
parent | ccb75d72bd02885109c7c339c1f72a393a9d3d22 (diff) | |
download | emacs-fa7886a46ff8d611cd75eaf651944f0fbc260324.tar.gz emacs-fa7886a46ff8d611cd75eaf651944f0fbc260324.tar.bz2 emacs-fa7886a46ff8d611cd75eaf651944f0fbc260324.zip |
Add new keywords of Python 3.5
Python 3.5, released in mid September 2015, introduced a few new
keywords to better support asynchronous code, "async" and "await"
in particular. See https://www.python.org/dev/peps/pep-0492/ for
details. (Bug#21783)
* lisp/progmodes/python.el (python-rx-constituents): Add async
def/for/with as block-start and async def as defun.
* lisp/progmodes/python.el (python-font-lock-keywords): Add async
def/for/with as keyword.
* test/automated/python-tests.el (python-indent-after-async-block-1,
python-indent-after-async-block-2, python-indent-after-async-block-3,
python-nav-beginning-of-defun-3): New tests to test indentation and
navigation for the async keyword.
Diffstat (limited to 'lisp/emacs-lisp/map.el')
0 files changed, 0 insertions, 0 deletions