summaryrefslogtreecommitdiffstats
path: root/Objects/setobject.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-07-24 14:02:03 (GMT)
committerGitHub <noreply@github.com>2023-07-24 14:02:03 (GMT)
commitfd66baf34a73871c651326a41886240bf6f986d7 (patch)
treec59b1d1e1987f1c1b0c4e0a2831deebf0eab0870 /Objects/setobject.c
parent0a9b339363a59be1249189c767ed6f46fd71e1c7 (diff)
downloadcpython-fd66baf34a73871c651326a41886240bf6f986d7.zip
cpython-fd66baf34a73871c651326a41886240bf6f986d7.tar.gz
cpython-fd66baf34a73871c651326a41886240bf6f986d7.tar.bz2
gh-106320: Remove private _PyDict C API (#107145)
Move private _PyDict functions to the internal C API (pycore_dict.h): * _PyDict_Contains_KnownHash() * _PyDict_DebugMallocStats() * _PyDict_DelItemIf() * _PyDict_GetItemWithError() * _PyDict_HasOnlyStringKeys() * _PyDict_MaybeUntrack() * _PyDict_MergeEx() No longer export these functions.
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r--Objects/setobject.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c
index 2f12320..c96b62e 100644
--- a/Objects/setobject.c
+++ b/Objects/setobject.c
@@ -32,6 +32,7 @@
*/
#include "Python.h"
+#include "pycore_dict.h" // _PyDict_Contains_KnownHash()
#include "pycore_modsupport.h" // _PyArg_NoKwnames()
#include "pycore_object.h" // _PyObject_GC_UNTRACK()
#include "pycore_setobject.h" // _PySet_NextEntry() definition