summaryrefslogtreecommitdiffstats
path: root/Objects/codeobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 15:04:34 (GMT)
committerGitHub <noreply@github.com>2023-07-22 15:04:34 (GMT)
commit5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975 (patch)
tree288d255165674d6464a2739cf5254cc83561d9c5 /Objects/codeobject.c
parentc92ef6fe0e1384c090b94143cdc01e5e114a8747 (diff)
downloadcpython-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 'Objects/codeobject.c')
-rw-r--r--Objects/codeobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index d2670c7..977e5b0 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -8,6 +8,7 @@
#include "pycore_interp.h" // PyInterpreterState.co_extra_freefuncs
#include "pycore_opcode.h" // _PyOpcode_Deopt
#include "pycore_pystate.h" // _PyInterpreterState_GET()
+#include "pycore_setobject.h" // _PySet_NextEntry()
#include "pycore_tuple.h" // _PyTuple_ITEMS()
#include "clinic/codeobject.c.h"