diff options
author | Victor Stinner <vstinner@python.org> | 2023-07-24 14:02:03 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-24 14:02:03 (GMT) |
commit | fd66baf34a73871c651326a41886240bf6f986d7 (patch) | |
tree | c59b1d1e1987f1c1b0c4e0a2831deebf0eab0870 /Objects/setobject.c | |
parent | 0a9b339363a59be1249189c767ed6f46fd71e1c7 (diff) | |
download | cpython-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.c | 1 |
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 |