mirror of https://github.com/MidnightCommander/mc
Ticket #4140: update python.syntax.
Add nonlocal, async, await keywoards. nonlocal: added in Python 3.0 in 2006: https://docs.python.org/3.0/whatsnew/3.0.html https://www.python.org/dev/peps/pep-3104/ https://docs.python.org/3/reference/simple_stmts.html#the-nonlocal-statement async, await: added in Python 3.5 in 2015: https://docs.python.org/3.5/whatsnew/3.5.html#what-s-new-in-python-3-5 https://www.python.org/downloads/release/python-350/ https://www.python.org/dev/peps/pep-0492/ https://docs.python.org/3/reference/compound_stmts.html#async-def https://docs.python.org/3/reference/compound_stmts.html#the-async-for-statement https://docs.python.org/3/reference/compound_stmts.html#the-async-with-statement https://docs.python.org/3/reference/expressions.html#await-expression https://docs.python.org/3/glossary.html#term-coroutine https://docs.python.org/3/library/asyncio-task.html Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
c8649068d3
commit
b01fea54a7
|
@ -23,6 +23,8 @@ context default
|
|||
keyword whole and yellow
|
||||
keyword whole as yellow
|
||||
keyword whole assert yellow
|
||||
keyword whole async yellow
|
||||
keyword whole await yellow
|
||||
keyword whole break yellow
|
||||
keyword whole class yellow
|
||||
keyword whole continue yellow
|
||||
|
@ -41,6 +43,7 @@ context default
|
|||
keyword whole in yellow
|
||||
keyword whole is yellow
|
||||
keyword whole lambda yellow
|
||||
keyword whole nonlocal yellow
|
||||
keyword whole not yellow
|
||||
keyword whole or yellow
|
||||
keyword whole pass yellow
|
||||
|
|
Loading…
Reference in New Issue