diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-11 08:03:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-11 08:03:14 (GMT) |
commit | 9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 (patch) | |
tree | b24f07e6f0ccb42ae02628248d1b521d6700386f /Include/dictobject.h | |
parent | c16595e567d51a1773be30c34622620b52be7acf (diff) | |
download | cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.zip cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.gz cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.bz2 |
Issue #26900: Excluded underscored names and other private API from limited API.
Diffstat (limited to 'Include/dictobject.h')
-rw-r--r-- | Include/dictobject.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Include/dictobject.h b/Include/dictobject.h index 19194ed..931d4bf 100644 --- a/Include/dictobject.h +++ b/Include/dictobject.h @@ -73,9 +73,9 @@ PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key, Py_hash_t hash); #endif PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key); +#ifndef Py_LIMITED_API 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 @@ -145,9 +145,13 @@ PyAPI_FUNC(int) PyDict_MergeFromSeq2(PyObject *d, int override); PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *dp, const char *key); +#ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyDict_GetItemId(PyObject *dp, struct _Py_Identifier *key); +#endif /* !Py_LIMITED_API */ PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); +#ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item); +#endif /* !Py_LIMITED_API */ PyAPI_FUNC(int) PyDict_DelItemString(PyObject *dp, const char *key); #ifndef Py_LIMITED_API |