summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2013-11-08 13:07:11 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2013-11-08 13:07:11 (GMT)
commit8ea86509ab81d43a07256d63f1f3709b4282ce7f (patch)
tree434db614c606b733793027432b5408e088ce6176
parent70e11acdbd3a206003dd47bbccc111ce1d55b88c (diff)
downloadcpython-8ea86509ab81d43a07256d63f1f3709b4282ce7f.zip
cpython-8ea86509ab81d43a07256d63f1f3709b4282ce7f.tar.gz
cpython-8ea86509ab81d43a07256d63f1f3709b4282ce7f.tar.bz2
Issue #19512, #19526: Exclude the new _PyDict_DelItemId() function from the
stable ABI
-rw-r--r--Include/dictobject.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index 9e5c90c..2859669 100644
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -109,12 +109,13 @@ PyAPI_FUNC(PyObject *) _PyDict_GetItemId(PyObject *dp, struct _Py_Identifier *ke
PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item);
PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item);
PyAPI_FUNC(int) PyDict_DelItemString(PyObject *dp, const char *key);
-PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, struct _Py_Identifier *key);
#ifndef Py_LIMITED_API
+PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, struct _Py_Identifier *key);
+PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out);
+
int _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, PyObject *name, PyObject *value);
PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *);
-PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out);
#endif
#ifdef __cplusplus