Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7f955ab

Browse files
committed
Merge 3.5
2 parents 7f27d43 + 3dc74bf commit 7f955ab

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Doc/library/token.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,10 +97,16 @@ The token constants are:
9797
RARROW
9898
ELLIPSIS
9999
OP
100+
AWAIT
101+
ASYNC
100102
ERRORTOKEN
101103
N_TOKENS
102104
NT_OFFSET
103105

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.
104110

105111
.. seealso::
106112

0 commit comments

Comments
 (0)