diff options
author | Victor Stinner <vstinner@python.org> | 2021-11-23 18:58:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-23 18:58:57 +0100 |
commit | 4ae26b9c1d0c33e3db92c6f305293f9240dea358 (patch) | |
tree | 4f39c3540bb089e58630e898c812dd547d16339d /Include/Python.h | |
parent | 5be98e57b3c3b36d1a1176b49c73b8822c6380e7 (diff) | |
download | cpython-4ae26b9c1d0c33e3db92c6f305293f9240dea358.tar.gz cpython-4ae26b9c1d0c33e3db92c6f305293f9240dea358.zip |
bpo-39026: Fix Python.h when building with Xcode (GH-29488)
Fix Python.h to build C extensions with Xcode: remove a relative
include from Include/cpython/pystate.h.
Diffstat (limited to 'Include/Python.h')
-rw-r--r-- | Include/Python.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h index 6e3303ac9a3..7260ae5cd0b 100644 --- a/Include/Python.h +++ b/Include/Python.h @@ -72,6 +72,7 @@ #include "sliceobject.h" #include "cpython/cellobject.h" #include "iterobject.h" +#include "cpython/initconfig.h" #include "pystate.h" #include "cpython/genobject.h" #include "descrobject.h" @@ -83,7 +84,6 @@ #include "cpython/pytime.h" #include "codecs.h" #include "pyerrors.h" -#include "cpython/initconfig.h" #include "pythread.h" #include "cpython/context.h" #include "modsupport.h" |