File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -450,10 +450,10 @@ always available. Unless explicitly noted otherwise, all variables are read-only
450
450
451
451
Raise an auditing event ``sys.excepthook `` with arguments ``hook ``,
452
452
``type ``, ``value ``, ``traceback `` when an uncaught exception occurs.
453
- If no hook has been set, ``hook `` may be ``None ``. If any hook raises
454
- an exception derived from :class: `RuntimeError ` the call to the hook will
455
- be suppressed. Otherwise, the audit hook exception will be reported as
456
- unraisable and ``sys.excepthook `` will be called.
453
+ If no hook has been set, ``hook `` may be ``None ``. If any audit hook
454
+ raises an exception derived from :class: `RuntimeError ` the call to that
455
+ audit hook will be suppressed. Otherwise, the audit hook exception will be
456
+ reported as unraisable and ``sys.excepthook `` will be called.
457
457
458
458
.. seealso ::
459
459
You can’t perform that action at this time.
0 commit comments