summaryrefslogtreecommitdiffstats
path: root/Python/ceval.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2022-04-25 22:14:30 (GMT)
committerGitHub <noreply@github.com>2022-04-25 22:14:30 (GMT)
commit64a54e511debaac6d3a6e53685824fce435c440c (patch)
tree7a549d47fbe8b480b14198555e427e57581db4ec /Python/ceval.c
parent20cc69528677b3e5191139d1cb587531f4893b55 (diff)
downloadcpython-64a54e511debaac6d3a6e53685824fce435c440c.zip
cpython-64a54e511debaac6d3a6e53685824fce435c440c.tar.gz
cpython-64a54e511debaac6d3a6e53685824fce435c440c.tar.bz2
gh-91719: Add pycore_opcode.h internal header file (#91906)
Move the following API from Include/opcode.h (public C API) to a new Include/internal/pycore_opcode.h header file (internal C API): * EXTRA_CASES * _PyOpcode_Caches * _PyOpcode_Deopt * _PyOpcode_Jump * _PyOpcode_OpName * _PyOpcode_RelativeJump
Diffstat (limited to 'Python/ceval.c')
-rw-r--r--Python/ceval.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/ceval.c b/Python/ceval.c
index 90068bc..6e7a248 100644
--- a/Python/ceval.c
+++ b/Python/ceval.c
@@ -15,6 +15,7 @@
#include "pycore_long.h" // _PyLong_GetZero()
#include "pycore_object.h" // _PyObject_GC_TRACK()
#include "pycore_moduleobject.h" // PyModuleObject
+#include "pycore_opcode.h" // EXTRA_CASES
#include "pycore_pyerrors.h" // _PyErr_Fetch()
#include "pycore_pylifecycle.h" // _PyErr_Print()
#include "pycore_pymem.h" // _PyMem_IsPtrFreed()