summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorShantanu <hauntsaninja@users.noreply.github.com>2020-02-28 23:25:36 (GMT)
committerGitHub <noreply@github.com>2020-02-28 23:25:36 (GMT)
commitc2f7eb254bee036afc8a71437ec6aac82f06a1ce (patch)
treed1b0df657de3b33eb259fa555720de18541328eb
parent916895f93905f8b8dad677cceff501833f5a633a (diff)
downloadcpython-c2f7eb254bee036afc8a71437ec6aac82f06a1ce.zip
cpython-c2f7eb254bee036afc8a71437ec6aac82f06a1ce.tar.gz
cpython-c2f7eb254bee036afc8a71437ec6aac82f06a1ce.tar.bz2
bpo-39718: add TYPE_IGNORE, COLONEQUAL to py38 changes in token (GH-18598)
-rw-r--r--Doc/library/token.rst2
-rw-r--r--Misc/NEWS.d/next/Documentation/2020-02-21-22-05-20.bpo-39718.xtBoSi.rst1
2 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/token.rst b/Doc/library/token.rst
index 1777929..dab8f0f 100644
--- a/Doc/library/token.rst
+++ b/Doc/library/token.rst
@@ -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).
diff --git a/Misc/NEWS.d/next/Documentation/2020-02-21-22-05-20.bpo-39718.xtBoSi.rst b/Misc/NEWS.d/next/Documentation/2020-02-21-22-05-20.bpo-39718.xtBoSi.rst
new file mode 100644
index 0000000..8072f61
--- /dev/null
+++ b/Misc/NEWS.d/next/Documentation/2020-02-21-22-05-20.bpo-39718.xtBoSi.rst
@@ -0,0 +1 @@
+Update :mod:`token` documentation to reflect additions in Python 3.8 \ No newline at end of file