diff options
author | Victor Stinner <vstinner@python.org> | 2023-11-15 17:10:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-15 17:10:06 (GMT) |
commit | bd2f1485b089bd38d123b4d202a37e567f119482 (patch) | |
tree | 5d1bde9b3388f7a19cec276386532173e44f66ba /Include | |
parent | ec055073673d5b949aa81311405d92159bab342e (diff) | |
download | cpython-bd2f1485b089bd38d123b4d202a37e567f119482.zip cpython-bd2f1485b089bd38d123b4d202a37e567f119482.tar.gz cpython-bd2f1485b089bd38d123b4d202a37e567f119482.tar.bz2 |
gh-112026: Restore removed _PyDict_GetItemStringWithError() (#112119)
Restore the removed _PyDict_GetItemStringWithError() function. It is
used by numpy.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/cpython/dictobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/cpython/dictobject.h b/Include/cpython/dictobject.h index 91ddc08..944965f 100644 --- a/Include/cpython/dictobject.h +++ b/Include/cpython/dictobject.h @@ -34,7 +34,7 @@ typedef struct { PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key, Py_hash_t hash); - +PyAPI_FUNC(PyObject *) _PyDict_GetItemStringWithError(PyObject *, const char *); PyAPI_FUNC(PyObject *) PyDict_SetDefault( PyObject *mp, PyObject *key, PyObject *defaultobj); |