8000 gh-92651: Remove the Include/token.h header file by vstinner · Pull Request #92652 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-92651: Remove the Include/token.h header file #92652

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 2 commits into from
May 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update make_h() default value
  • Loading branch information
vstinner committed May 11, 2022
commit e6273d279f3bad12156aef524a9a90007fd9592b
2 changes: 1 addition & 1 deletion Tools/scripts/generate_token.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def update_file(file, content):
#endif // !Py_INTERNAL_TOKEN_H
"""

def make_h(infile, outfile='Include/token.h'):
def make_h(infile, outfile='Include/internal/pycore_token.h'):
tok_names, ERRORTOKEN, string_to_tok = load_tokens(infile)

defines = []
Expand Down
0