aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/assemble.c
diff options
context:
space:
mode:
authorIrit Katriel <1055913+iritkatriel@users.noreply.github.com>2024-04-02 11:34:49 +0100
committerGitHub <noreply@github.com>2024-04-02 10:34:49 +0000
commit1d5479b236e9a66dd32a24eff6fb83e3242b999d (patch)
tree58952ccbc1825b1b7a3004a5971bd4a9a23b2dca /Python/assemble.c
parent5fd1897ec51cb64ef7990ada538fcd8d9ca1f74b (diff)
downloadcpython-1d5479b236e9a66dd32a24eff6fb83e3242b999d.tar.gz
cpython-1d5479b236e9a66dd32a24eff6fb83e3242b999d.zip
gh-117411: move PyFutureFeatures to pycore_symtable.h and make it private (#117412)
Diffstat (limited to 'Python/assemble.c')
-rw-r--r--Python/assemble.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/assemble.c b/Python/assemble.c
index 09db2fab48d..be3d9c1a746 100644
--- a/Python/assemble.c
+++ b/Python/assemble.c
@@ -5,6 +5,7 @@
#include "pycore_compile.h"
#include "pycore_opcode_utils.h" // IS_BACKWARDS_JUMP_OPCODE
#include "pycore_opcode_metadata.h" // is_pseudo_target, _PyOpcode_Caches
+#include "pycore_symtable.h" // _Py_SourceLocation
#define DEFAULT_CODE_SIZE 128
@@ -21,7 +22,7 @@
return ERROR; \
}
-typedef _PyCompilerSrcLocation location;
+typedef _Py_SourceLocation location;
typedef _PyCompile_Instruction instruction;
typedef _PyCompile_InstructionSequence instr_sequence;