diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-22 15:04:34 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-22 15:04:34 (GMT) |
commit | 5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975 (patch) | |
tree | 288d255165674d6464a2739cf5254cc83561d9c5 /Python/compile.c | |
parent | c92ef6fe0e1384c090b94143cdc01e5e114a8747 (diff) | |
download | cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.zip cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.gz cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.bz2 |
gh-106320: Move private _PySet API to the internal API (#107041)
* Add pycore_setobject.h header file.
* Move the following API to the internal C API:
* _PySet_Dummy
* _PySet_NextEntry()
* _PySet_Update()
Diffstat (limited to 'Python/compile.c')
-rw-r--r-- | Python/compile.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/compile.c b/Python/compile.c index 9a13ab5..6001187 100644 --- a/Python/compile.c +++ b/Python/compile.c @@ -28,12 +28,13 @@ #define NEED_OPCODE_TABLES #include "pycore_opcode_utils.h" #undef NEED_OPCODE_TABLES -#include "pycore_flowgraph.h" #include "pycore_code.h" // _PyCode_New() #include "pycore_compile.h" +#include "pycore_flowgraph.h" #include "pycore_intrinsics.h" #include "pycore_long.h" // _PyLong_GetZero() #include "pycore_pystate.h" // _Py_GetConfig() +#include "pycore_setobject.h" // _PySet_NextEntry() #include "pycore_symtable.h" // PySTEntryObject, _PyFuture_FromAST() #define NEED_OPCODE_METADATA |