Skip to content
Open
Changes from all commits
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
8 changes: 4 additions & 4 deletions Doc/library/sys.rst
Original file line number Diff line number Diff line change
Expand Up @@ -450,10 +450,10 @@ always available. Unless explicitly noted otherwise, all variables are read-only

Raise an auditing event ``sys.excepthook`` with arguments ``hook``,
``type``, ``value``, ``traceback`` when an uncaught exception occurs.
If no hook has been set, ``hook`` may be ``None``. If any hook raises
an exception derived from :class:`RuntimeError` the call to the hook will
be suppressed. Otherwise, the audit hook exception will be reported as
unraisable and ``sys.excepthook`` will be called.
If no hook has been set, ``hook`` may be ``None``. If any audit hook
raises an exception derived from :class:`RuntimeError` the call to that
audit hook will be suppressed. Otherwise, the audit hook exception will be
reported as unraisable and ``sys.excepthook`` will be called.

.. seealso::

Expand Down
Loading