summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-07-01 23:03:53 (GMT)
committerGitHub <noreply@github.com>2019-07-01 23:03:53 (GMT)
commite226e83d36dfc7220d836fb7a249ce18e70cb4a6 (patch)
treeec4de1abf366960dadf2aa1e8e1b4b89458243f9 /Doc/library/sys.rst
parent0f4e8132820947d93eccf31b9e526b81c6ffa53d (diff)
downloadcpython-e226e83d36dfc7220d836fb7a249ce18e70cb4a6.zip
cpython-e226e83d36dfc7220d836fb7a249ce18e70cb4a6.tar.gz
cpython-e226e83d36dfc7220d836fb7a249ce18e70cb4a6.tar.bz2
bpo-37363: Add audit events on startup for the run commands (GH-14524)
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 131aea0..acd5442 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -905,6 +905,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