diff options
author | Илья Любавский <100635212+lubaskinc0de@users.noreply.github.com> | 2024-11-29 09:00:50 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-29 09:00:50 (GMT) |
commit | dd3a87d2a8f8750978359a99de2c5cb2168351d1 (patch) | |
tree | 203f9260db5b7233a7a5e6d1ec0b7939c86e2882 /Tools/build | |
parent | b83be9c9718aac42d0d8fc689a829d6594192afa (diff) | |
download | cpython-dd3a87d2a8f8750978359a99de2c5cb2168351d1.zip cpython-dd3a87d2a8f8750978359a99de2c5cb2168351d1.tar.gz cpython-dd3a87d2a8f8750978359a99de2c5cb2168351d1.tar.bz2 |
gh-127303: Add docs for token.EXACT_TOKEN_TYPES (#127304)
---------
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Tomas R. <tomas.roun8@gmail.com>
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Diffstat (limited to 'Tools/build')
-rwxr-xr-x | Tools/build/generate_token.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/build/generate_token.py b/Tools/build/generate_token.py index 16c3884..d32747f 100755 --- a/Tools/build/generate_token.py +++ b/Tools/build/generate_token.py @@ -226,7 +226,8 @@ token_py_template = f'''\ # {AUTO_GENERATED_BY_SCRIPT} ''' token_py_template += ''' -__all__ = ['tok_name', 'ISTERMINAL', 'ISNONTERMINAL', 'ISEOF'] +__all__ = ['tok_name', 'ISTERMINAL', 'ISNONTERMINAL', 'ISEOF', + 'EXACT_TOKEN_TYPES'] %s N_TOKENS = %d |