Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update Doc/c-api/exceptions.rst
Co-authored-by: C.A.M. Gerlach <[email protected]>
  • Loading branch information
erlend-aasland and CAM-Gerlach authored Feb 19, 2023
commit fd94dd8d4fa4b5cc142553e2a122146585a2863a
4 changes: 2 additions & 2 deletions Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -426,8 +426,8 @@ Querying the error indicator

.. c:function:: void PyErr_SetRaisedException(PyObject *exc)

Set *exc* as the exception currently being raised.
If another exception is already raised, it is cleared first.
Set *exc* as the exception currently being raised,
clearing the existing exception if one is set.

.. warning::

Expand Down