Skip to content

Commit bd0913a

Browse files
authored
gh-157407: Fix a compilation error on Windows. (#158048)
`&PyUnicode_Type` cannot be determined at compile time on Windows. Caused by #157393.
1 parent 2483fb3 commit bd0913a

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎Parser/asdl_c.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def visitModule(self, mod):
799799
FIELD_SEQUENCE = 2,
800800
FIELD_BUILTIN = 4,
801801
};
802-
static PyTypeObject *const builtin_types[] = {
802+
PyTypeObject *const builtin_types[] = {
803803
'''))
804804
for c_type in builtins:
805805
self.emit(f"&{c_type},", 2)

‎Python/Python-ast.c‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)