mirror of
https://github.com/python/cpython.git
synced 2024-11-27 03:45:08 +08:00
bpo-39718: add TYPE_IGNORE, COLONEQUAL to py38 changes in token (GH-18598)
This commit is contained in:
parent
916895f939
commit
c2f7eb254b
@ -87,7 +87,7 @@ the :mod:`tokenize` module.
|
||||
now tokenized as :data:`NAME` tokens.
|
||||
|
||||
.. versionchanged:: 3.8
|
||||
Added :data:`TYPE_COMMENT`.
|
||||
Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`.
|
||||
Added :data:`AWAIT` and :data:`ASYNC` tokens back (they're needed
|
||||
to support parsing older Python versions for :func:`ast.parse` with
|
||||
``feature_version`` set to 6 or lower).
|
||||
|
@ -0,0 +1 @@
|
||||
Update :mod:`token` documentation to reflect additions in Python 3.8
|
Loading…
Reference in New Issue
Block a user