Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7f27d43 + 3dc74bf commit 7f955abCopy full SHA for 7f955ab
1 file changed
Doc/library/token.rst
@@ -97,10 +97,16 @@ The token constants are:
97
RARROW
98
ELLIPSIS
99
OP
100
+ AWAIT
101
+ ASYNC
102
ERRORTOKEN
103
N_TOKENS
104
NT_OFFSET
105
106
+ .. versionchanged:: 3.5
107
+ Added :data:`AWAIT` and :data:`ASYNC` tokens. Starting with
108
+ Python 3.7, "async" and "await" will be tokenized as :data:`NAME`
109
+ tokens, and :data:`AWAIT` and :data:`ASYNC` will be removed.
110
111
.. seealso::
112
0 commit comments