summaryrefslogtreecommitdiffstats
path: root/Python/bytecodes.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-08-16 22:25:18 (GMT)
committerGitHub <noreply@github.com>2023-08-16 22:25:18 (GMT)
commit665a4391e10167dad1c854fb604c86f336fcd331 (patch)
treee1d55069486dd67e6857a13fafc12b6e865cacf7 /Python/bytecodes.c
parente88eb3775ecdcb3af6c6d694a935b7fa5f41e5ce (diff)
downloadcpython-665a4391e10167dad1c854fb604c86f336fcd331.zip
cpython-665a4391e10167dad1c854fb604c86f336fcd331.tar.gz
cpython-665a4391e10167dad1c854fb604c86f336fcd331.tar.bz2
gh-105481: generate op IDs from bytecode.c instead of hard coding them in opcode.py (#107971)
Diffstat (limited to 'Python/bytecodes.c')
-rw-r--r--Python/bytecodes.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/Python/bytecodes.c b/Python/bytecodes.c
index e9a5cf5..2a5ad2c 100644
--- a/Python/bytecodes.c
+++ b/Python/bytecodes.c
@@ -17,7 +17,6 @@
#include "pycore_long.h" // _PyLong_GetZero()
#include "pycore_moduleobject.h" // PyModuleObject
#include "pycore_object.h" // _PyObject_GC_TRACK()
-#include "pycore_opcode.h" // EXTRA_CASES
#include "pycore_opcode_metadata.h" // uop names
#include "pycore_opcode_utils.h" // MAKE_FUNCTION_*
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()