summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2014-05-03 23:39:15 (GMT)
committerBenjamin Peterson <benjamin@python.org>2014-05-03 23:39:15 (GMT)
commit39992d3043b618ca6a2e3ef67777f413a1824b6e (patch)
tree8dd0243fb5894681fd5bf5cec93e1569a740a909 /Include
parent4b0b1accb57aabdd1b30dd445c2d530e9cdda65d (diff)
downloadcpython-39992d3043b618ca6a2e3ef67777f413a1824b6e.zip
cpython-39992d3043b618ca6a2e3ef67777f413a1824b6e.tar.gz
cpython-39992d3043b618ca6a2e3ef67777f413a1824b6e.tar.bz2
do not expose known hash api in stable API
Diffstat (limited to 'Include')
-rw-r--r--Include/dictobject.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h
index 3e0544a..09dff59 100644
--- a/Include/dictobject.h
+++ b/Include/dictobject.h
@@ -50,8 +50,10 @@ PyAPI_DATA(PyTypeObject) PyDictValues_Type;
PyAPI_FUNC(PyObject *) PyDict_New(void);
PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key);
+#ifndef Py_LIMITED_API
PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
Py_hash_t hash);
+#endif
PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key);
PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp,
struct _Py_Identifier *key);
@@ -60,8 +62,10 @@ PyAPI_FUNC(PyObject *) PyDict_SetDefault(
PyObject *mp, PyObject *key, PyObject *defaultobj);
#endif
PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item);
+#ifndef Py_LIMITED_API
PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key,
PyObject *item, Py_hash_t hash);
+#endif
PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key);
PyAPI_FUNC(void) PyDict_Clear(PyObject *mp);
PyAPI_FUNC(int) PyDict_Next(