diff options
Diffstat (limited to 'Doc/library/token.rst')
| -rw-r--r-- | Doc/library/token.rst | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/token.rst b/Doc/library/token.rst index b7ca9dbca7..373991027e 100644 --- a/Doc/library/token.rst +++ b/Doc/library/token.rst @@ -98,8 +98,6 @@ The token constants are: RARROW ELLIPSIS OP - AWAIT - ASYNC ERRORTOKEN N_TOKENS NT_OFFSET @@ -129,9 +127,11 @@ the :mod:`tokenize` module. .. 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. + Added :data:`AWAIT` and :data:`ASYNC` tokens. .. versionchanged:: 3.7 Added :data:`COMMENT`, :data:`NL` and :data:`ENCODING` tokens. + +.. versionchanged:: 3.7 + Removed :data:`AWAIT` and :data:`ASYNC` tokens. "async" and "await" are + now tokenized as :data:`NAME` tokens. |
