Skip to content
Closed
Prev Previous commit
Python-ast: don't include Python.h at beginning
Neglected to stage this change
  • Loading branch information
nw0 committed Mar 6, 2021
commit e95d1fe417a0c32e8f7c1b27f7f5fb3e92704475
2 changes: 1 addition & 1 deletion Parser/asdl_c.py
Original file line number Diff line number Diff line change
Expand Up @@ -1498,7 +1498,7 @@ def write_header(mod, f):
f.write('#endif\n')
f.write('\n')
f.write('#ifndef Py_LIMITED_API\n')
f.write('#include "Python.h"\n')
f.write('#include "cpython/asdl.h"\n')
f.write('\n')
f.write('#undef Yield /* undefine macro conflicting with <winbase.h> */\n')
f.write('\n')
Expand Down