mirror of
https://github.com/python/cpython.git
synced 2024-11-24 02:15:30 +08:00
gh-112026: Deprecate _PyDict_GetItemStringWithError() function (#119855)
This commit is contained in:
parent
4223f1d828
commit
70934fb469
@ -37,7 +37,8 @@ typedef struct {
|
||||
|
||||
PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
|
||||
Py_hash_t hash);
|
||||
PyAPI_FUNC(PyObject *) _PyDict_GetItemStringWithError(PyObject *, const char *);
|
||||
// PyDict_GetItemStringRef() can be used instead
|
||||
Py_DEPRECATED(3.14) PyAPI_FUNC(PyObject *) _PyDict_GetItemStringWithError(PyObject *, const char *);
|
||||
PyAPI_FUNC(PyObject *) PyDict_SetDefault(
|
||||
PyObject *mp, PyObject *key, PyObject *defaultobj);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user