ID EN
Sys

addaudithook

Python 3.11

Append the callable hook to the list of active auditing hooks for the current (sub)interpreter.

Syntax

PYTHON
sys.addaudithook(hook)

See Also

sys.audit() PySys_AddAuditHook() PySys_AddAuditHook() ctypes sys.addaudithook() RuntimeError audit events table Exception