diff --git a/Doc/c-api/dict.rst b/Doc/c-api/dict.rst index c86cd0b8c2f..c3ef1f4300d 100644 --- a/Doc/c-api/dict.rst +++ b/Doc/c-api/dict.rst @@ -98,6 +98,7 @@ Dictionary Objects Return the object from dictionary *p* which has a key *key*. Return *NULL* if the key *key* is not present, but *without* setting an exception. + .. cfunction:: PyObject* PyDict_GetItemWithError(PyObject *p, PyObject *key) Variant of :cfunc:`PyDict_GetItem` that does not suppress @@ -105,6 +106,7 @@ Dictionary Objects occurred. Return *NULL* **without** an exception set if the key wasn't present. + .. cfunction:: PyObject* PyDict_GetItemString(PyObject *p, const char *key) This is the same as :cfunc:`PyDict_GetItem`, but *key* is specified as a