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.
|
now tokenized as :data:`NAME` tokens.
|
||||||
|
|
||||||
.. versionchanged:: 3.8
|
.. 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
|
Added :data:`AWAIT` and :data:`ASYNC` tokens back (they're needed
|
||||||
to support parsing older Python versions for :func:`ast.parse` with
|
to support parsing older Python versions for :func:`ast.parse` with
|
||||||
``feature_version`` set to 6 or lower).
|
``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