Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787f307 commit c3e36afCopy full SHA for c3e36af
1 file changed
Doc/c-api/dict.rst
@@ -98,13 +98,15 @@ Dictionary Objects
98
Return the object from dictionary *p* which has a key *key*. Return *NULL* if
99
the key *key* is not present, but *without* setting an exception.
100
101
+
102
.. cfunction:: PyObject* PyDict_GetItemWithError(PyObject *p, PyObject *key)
103
104
Variant of :cfunc:`PyDict_GetItem` that does not suppress
105
exceptions. Return *NULL* **with** an exception set if an exception
106
occurred. Return *NULL* **without** an exception set if the key
107
wasn't present.
108
109
110
.. cfunction:: PyObject* PyDict_GetItemString(PyObject *p, const char *key)
111
112
This is the same as :cfunc:`PyDict_GetItem`, but *key* is specified as a
0 commit comments