bpo-39718: add TYPE_IGNORE, COLONEQUAL to py38 changes in token (GH-18598)
(cherry picked from commit c2f7eb254b
)
Co-authored-by: Shantanu <hauntsaninja@users.noreply.github.com>
This commit is contained in:
parent
445152e0d3
commit
7f53d87cb0
|
@ -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