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 df1eec3 commit c9112eaCopy full SHA for c9112ea
Doc/c-api/exceptions.rst
@@ -440,7 +440,7 @@ Querying the error indicator
440
.. c:function:: PyObject *PyErr_GetRaisedException(void)
441
442
Return the exception currently being raised, clearing the error indicator at
443
- the same time.
+ the same time. Returns ``NULL`` if the error indicator is not set.
444
445
This function is used by code that needs to catch exceptions,
446
or code that needs to save and restore the error indicator temporarily.
0 commit comments