diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2014-01-03 21:36:49 +0100 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2014-01-03 21:36:49 +0100 |
commit | 1c0689c613b61c8944456e78c5b592e3aaa40aba (patch) | |
tree | 7f8bb895da42b257af0ca9cbc2dd13e60abf2186 /Include/dictobject.h | |
parent | whatsnew: porting note for HTTP[S]Connection strict parameter removal. (diff) | |
download | cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.gz cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.tar.bz2 cpython-1c0689c613b61c8944456e78c5b592e3aaa40aba.zip |
Issue #19526: Exclude all new API from the stable ABI.
Diffstat (limited to 'Include/dictobject.h')
-rw-r--r-- | Include/dictobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h index 285966963c3..ef122bde973 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -53,8 +53,10 @@ PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key); PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key); PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp, struct _Py_Identifier *key); +#ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) PyDict_SetDefault( PyObject *mp, PyObject *key, PyObject *defaultobj); +#endif PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item); PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key); PyAPI_FUNC(void) PyDict_Clear(PyObject *mp); |