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

hugovk <[email protected]>
Newsgroups gmane.comp.python.cvs
Message-ID <[email protected]>
https://github.com/python/cpython/commit/c811e85d4420443c2a0a8eb547cc8619f29bac2f
commit: c811e85d4420443c2a0a8eb547cc8619f29bac2f
branch: 3.15
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2026-08-17T09:45:01+03:00
summary:

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

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

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

diff --git a/.gitattributes b/.gitattributes
index 4d52f900b93179e..b054dfc620ac448 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.