bpo-39026: Fix Python.h when building with Xcode (GH-29488) (GH-29776)

Fix Python.h to build C extensions with Xcode: remove a relative
include from Include/cpython/pystate.h.

(cherry picked from commit 4ae26b9c1d)
This commit is contained in:
Victor Stinner 2021-11-26 10:59:31 +01:00 committed by GitHub
parent b524934984
commit 92631a4144
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 4 deletions

View file

@ -116,6 +116,7 @@
#include "sliceobject.h"
#include "cellobject.h"
#include "iterobject.h"
#include "cpython/initconfig.h"
#include "genobject.h"
#include "descrobject.h"
#include "genericaliasobject.h"
@ -127,8 +128,6 @@
#include "codecs.h"
#include "pyerrors.h"
#include "cpython/initconfig.h"
#include "pythread.h"
#include "pystate.h"
#include "context.h"