diff options
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r-- | Doc/library/sys.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 0b53ee0..a33e796 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -913,6 +913,12 @@ always available. read, so that you can set this hook there. The :mod:`site` module :ref:`sets this <rlcompleter-config>`. + .. audit-event:: cpython.run_interactivehook hook sys.__interactivehook__ + + Raises an :ref:`auditing event <auditing>` + ``cpython.run_interactivehook`` with the hook object as the argument when + the hook is called on startup. + .. versionadded:: 3.4 |