Update list of files generated by `generate_token.py` (#155524)

StanFromIreland <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/6acd96ae3b76a79297f7d51e6b80c2b92b0f1d3a
commit: 6acd96ae3b76a79297f7d51e6b80c2b92b0f1d3a
branch: main
author: Saki <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-08-15T12:30:22+01:00
summary:

Update list of files generated by `generate_token.py` (#155524)

Co-authored-by: Stan Ulbrych <[email protected]>

files:
M .gitattributes
M Tools/build/generate_token.py

diff --git a/.gitattributes b/.gitattributes
index f00d82e6978c40b..7ca49c3e44fe4bd 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -80,12 +80,12 @@ Include/internal/pycore_ast_state.h                 generated
 Include/internal/pycore_opcode.h                    generated
 Include/internal/pycore_opcode_metadata.h           generated
 Include/internal/pycore_*_generated.h               generated
+Include/internal/pycore_token.h                     generated
 Include/internal/pycore_uop_ids.h                   generated
 Include/internal/pycore_uop_metadata.h              generated
 Include/opcode.h                                    generated
 Include/opcode_ids.h                                generated
 Include/slots_generated.h                           generated
-Include/token.h                                     generated
 Lib/_opcode_metadata.py                             generated
 Lib/idlelib/help.html                               generated
 Lib/keyword.py                                      generated
diff --git a/Tools/build/generate_token.py b/Tools/build/generate_token.py
index 9ee5ec86e75d472..9bc96d338fdafa2 100755
--- a/Tools/build/generate_token.py
+++ b/Tools/build/generate_token.py
@@ -5,7 +5,7 @@
 #       Doc/library/token-list.inc
 #       Doc/library/token.rst  (checked, not generated)
 #   make_h:
-#       Include/token.h
+#       Include/internal/pycore_token.h
 #   make_c:
 #       Parser/token.c
 #   make_py:

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.