aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-22 17:04:34 +0200
committerGitHub <noreply@github.com>2023-07-22 17:04:34 +0200
commit5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975 (patch)
tree288d255165674d6464a2739cf5254cc83561d9c5 /Python/pylifecycle.c
parentc92ef6fe0e1384c090b94143cdc01e5e114a8747 (diff)
downloadcpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.tar.gz
cpython-5e4af2a3e90d78fdf6a4cc42e0472576b1f2b975.zip
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/pylifecycle.c')
-rw-r--r--Python/pylifecycle.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c
index f91fac9379e..ceca7776a27 100644
--- a/Python/pylifecycle.c
+++ b/Python/pylifecycle.c
@@ -24,6 +24,7 @@
#include "pycore_pystate.h" // _PyThreadState_GET()
#include "pycore_runtime.h" // _Py_ID()
#include "pycore_runtime_init.h" // _PyRuntimeState_INIT
+#include "pycore_setobject.h" // _PySet_NextEntry()
#include "pycore_sliceobject.h" // _PySlice_Fini()
#include "pycore_sysmodule.h" // _PySys_ClearAuditHooks()
#include "pycore_traceback.h" // _Py_DumpTracebackThreads()