mirror of
https://github.com/python/cpython.git
synced 2025-11-27 13:45:25 +00:00
gh-112026: Deprecate _PyDict_GetItemStringWithError() function (#119855)
This commit is contained in:
parent
4223f1d828
commit
70934fb469
1 changed files with 2 additions and 1 deletions
|
|
@ -37,7 +37,8 @@ typedef struct {
|
||||||
|
|
||||||
PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
|
PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key,
|
||||||
Py_hash_t hash);
|
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(
|
PyAPI_FUNC(PyObject *) PyDict_SetDefault(
|
||||||
PyObject *mp, PyObject *key, PyObject *defaultobj);
|
PyObject *mp, PyObject *key, PyObject *defaultobj);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue