Skip to content

Commit c2f7eb2

Browse files
authored
bpo-39718: add TYPE_IGNORE, COLONEQUAL to py38 changes in token (GH-18598)
1 parent 916895f commit c2f7eb2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Doc/library/token.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ the :mod:`tokenize` module.
8787
now tokenized as :data:`NAME` tokens.
8888

8989
.. versionchanged:: 3.8
90-
Added :data:`TYPE_COMMENT`.
90+
Added :data:`TYPE_COMMENT`, :data:`TYPE_IGNORE`, :data:`COLONEQUAL`.
9191
Added :data:`AWAIT` and :data:`ASYNC` tokens back (they're needed
9292
to support parsing older Python versions for :func:`ast.parse` with
9393
``feature_version`` set to 6 or lower).
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Update :mod:`token` documentation to reflect additions in Python 3.8

0 commit comments

Comments
 (0)