summaryrefslogtreecommitdiffstats
path: root/Doc/library/token.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/token.rst')
-rw-r--r--Doc/library/token.rst7
1 files changed, 7 insertions, 0 deletions
diff --git a/Doc/library/token.rst b/Doc/library/token.rst
index 0cc9ddd..40982f3 100644
--- a/Doc/library/token.rst
+++ b/Doc/library/token.rst
@@ -79,6 +79,13 @@ the :mod:`tokenize` module.
``type_comments=True``.
+.. data:: EXACT_TOKEN_TYPES
+
+ A dictionary mapping the string representation of a token to its numeric code.
+
+ .. versionadded:: 3.8
+
+
.. versionchanged:: 3.5
Added :data:`!AWAIT` and :data:`!ASYNC` tokens.