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.
PyDict_GetItemRef
1 parent 59b260c commit 67fbb77Copy full SHA for 67fbb77
1 file changed
Doc/c-api/dict.rst
@@ -118,7 +118,7 @@ Dictionary Objects
118
* If the key is present, set *\*result* to a new :term:`strong reference`
119
to the value and return ``1``.
120
* If the key is missing, set *\*result* to ``NULL`` and return ``0``.
121
- * On error, raise an exception and return ``-1``.
+ * On error, raise an exception, set *\*result* to ``NULL`` and return ``-1``.
122
123
.. versionadded:: 3.13
124
0 commit comments