aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/flowgraph.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2023-07-14 18:41:52 +0100
committerGitHub <noreply@github.com>2023-07-14 18:41:52 +0100
commit6a70edf24ca217c5ed4a556d0df5748fc775c762 (patch)
tree425c753711dd2fee50fe57ac7b7940e8bfc49f8d /Python/flowgraph.c
parent243fdcb40ebeb177ce723911c1f7fad8a1fdf6cb (diff)
downloadcpython-6a70edf24ca217c5ed4a556d0df5748fc775c762.tar.gz
cpython-6a70edf24ca217c5ed4a556d0df5748fc775c762.zip
gh-105481: expose opcode metadata via the _opcode module (#106688)
Diffstat (limited to 'Python/flowgraph.c')
-rw-r--r--Python/flowgraph.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/Python/flowgraph.c b/Python/flowgraph.c
index 04f269c5853..e485ed10314 100644
--- a/Python/flowgraph.c
+++ b/Python/flowgraph.c
@@ -7,9 +7,7 @@
#include "pycore_pymem.h" // _PyMem_IsPtrFreed()
#include "pycore_opcode_utils.h"
-#define NEED_OPCODE_METADATA
-#include "pycore_opcode_metadata.h" // _PyOpcode_opcode_metadata, _PyOpcode_num_popped/pushed
-#undef NEED_OPCODE_METADATA
+#include "pycore_opcode_metadata.h" // OPCODE_HAS_ARG, etc
#undef SUCCESS