Commit 3dc74bf7 authored by Yury Selivanov's avatar Yury Selivanov

docs: Document ASYNC/AWAIT tokens (issue #25580)

Initial patch by SilentGhost
parent b84ef715
......@@ -97,10 +97,16 @@ The token constants are:
RARROW
ELLIPSIS
OP
AWAIT
ASYNC
ERRORTOKEN
N_TOKENS
NT_OFFSET
.. versionchanged:: 3.5
Added :data:`AWAIT` and :data:`ASYNC` tokens. Starting with
Python 3.7, "async" and "await" will be tokenized as :data:`NAME`
tokens, and :data:`AWAIT` and :data:`ASYNC` will be removed.
.. seealso::
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment