summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-07 00:29:52 (GMT)
committerGitHub <noreply@github.com>2022-04-07 00:29:52 (GMT)
commit85addfb9c6496eb3d26082348cf5aca848c877ef (patch)
treeb6a0cd3eda126249ee74b718cc7b2c2a3f4d5876 /Include/Python.h
parent5c4d1f6e0e192653560ae2941a6677fbf4fbd1f2 (diff)
downloadcpython-85addfb9c6496eb3d26082348cf5aca848c877ef.zip
cpython-85addfb9c6496eb3d26082348cf5aca848c877ef.tar.gz
cpython-85addfb9c6496eb3d26082348cf5aca848c877ef.tar.bz2
bpo-35134: Remove the Include/code.h header file (GH-32385)
Remove the Include/code.h header file. C extensions should only include the main <Python.h> header file. Python.h includes directly Include/cpython/code.h instead.
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 4dc2edb..52a7aac 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -68,7 +68,7 @@
#include "cpython/classobject.h"
#include "fileobject.h"
#include "pycapsule.h"
-#include "code.h"
+#include "cpython/code.h"
#include "pyframe.h"
#include "traceback.h"
#include "sliceobject.h"