[docs] [issue25580] async and await missing from token list

Martin Panter report at bugs.python.org
Fri Nov 13 18:04:25 EST 2015


Martin Panter added the comment:

My only background here is via the tokenize module, which seems to currently behave as described in <https://www.python.org/dev/peps/pep-0492/#transition-plan>: async and await are either NAME tokens (like ordinary identifiers and other reserved keywords) outside a coroutine definition, but they become special ASYNC and AWAIT tokens inside a coroutine.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25580>
_______________________________________


More information about the docs mailing list