summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.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/dictobject.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/dictobject.c')
-rw-r--r--Objects/dictobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 3f9297c..26e2dc3 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -121,6 +121,7 @@ As a consequence of this, split keys have a maximum size of 16.
#include "pycore_object.h" // _PyObject_GC_TRACK()
#include "pycore_pyerrors.h" // _PyErr_GetRaisedException()
#include "pycore_pystate.h" // _PyThreadState_GET()
+#include "pycore_setobject.h" // _PySet_NextEntry()
#include "stringlib/eq.h" // unicode_eq()
#include <stdbool.h>