[3.13] Update list of files generated by `generate_token.py` (GH-155524) (#155842)

StanFromIreland <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/a01e6807b7b10ec06af324c039c51f95903eae0b
commit: a01e6807b7b10ec06af324c039c51f95903eae0b
branch: 3.13
author: Stan Ulbrych <[email protected]>
committer: StanFromIreland <[email protected]>
date: 2026-08-15T11:59:35Z
summary:

[3.13] Update list of files generated by `generate_token.py` (GH-155524) (#155842)

(cherry picked from commit 6acd96ae3b76a79297f7d51e6b80c2b92b0f1d3a)

Co-authored-by: Saki <[email protected]>

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

diff --git a/.gitattributes b/.gitattributes
index bc9328a2b05875c..a1d26bdf42d3132 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -77,11 +77,11 @@ 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/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 7316333dcd452ec..71fdbceeb5e9c10 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.