Skip to content

gh-127303: Add docs for token.EXACT_TOKEN_TYPES #127304

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Nov 29, 2024
7 changes: 7 additions & 0 deletions Doc/library/token.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ the :mod:`tokenize` module.
``type_comments=True``.


.. data:: EXACT_TOKEN_TYPES

A dictionary that stores the string representation of the token
as keys, and their numeric codes as values.

.. versionadded:: 3.8

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we have two blank lines here? (as above)

.. versionchanged:: 3.5
Added :data:`!AWAIT` and :data:`!ASYNC` tokens.

Expand Down
1 change: 1 addition & 0 deletions Misc/ACKS
Original file line number Diff line number Diff line change
Expand Up @@ -1152,6 +1152,7 @@ Mike Lundy
Zhongyue Luo
Mark Lutz
Taras Lyapun
Ilya Lyubavski
Jim Lynch
Mikael Lyngvig
Jeff MacDonald
Expand Down
Loading