summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/sys.rst
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-06-27 18:07:16 (GMT)
committerGitHub <noreply@github.com>2019-06-27 18:07:16 (GMT)
commit4fee28aa42dbac7f08a6d2829546b7d8e848034d (patch)
tree119433f608f787c9e34aa68abd4277ec3e108e13 /Doc/c-api/sys.rst
parent60f24b23bf6ac485d195bb904635bdc3fe646b07 (diff)
downloadcpython-4fee28aa42dbac7f08a6d2829546b7d8e848034d.zip
cpython-4fee28aa42dbac7f08a6d2829546b7d8e848034d.tar.gz
cpython-4fee28aa42dbac7f08a6d2829546b7d8e848034d.tar.bz2
bpo-37390: Add audit event table to documentations (GH-14406)
Also updates some (unreleased) event names to be consistent with the others. (cherry picked from commit 44f91c388a6f4da9ed3300df32ca290b8aa104ea) Co-authored-by: Steve Dower <steve.dower@python.org>
Diffstat (limited to 'Doc/c-api/sys.rst')
-rw-r--r--Doc/c-api/sys.rst4
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/c-api/sys.rst b/Doc/c-api/sys.rst
index 7d870a8..838a97c 100644
--- a/Doc/c-api/sys.rst
+++ b/Doc/c-api/sys.rst
@@ -291,8 +291,6 @@ accessible to C code. They all work with the current interpreter thread's
.. c:function:: int PySys_Audit(const char *event, const char *format, ...)
- .. index:: single: audit events
-
Raises an auditing event with any active hooks. Returns zero for success
and non-zero with an exception set on failure.
@@ -311,8 +309,6 @@ accessible to C code. They all work with the current interpreter thread's
.. c:function:: int PySys_AddAuditHook(Py_AuditHookFunction hook, void *userData)
- .. index:: single: audit events
-
Adds to the collection of active auditing hooks. Returns zero for success
and non-zero on failure. If the runtime has been initialized, also sets an
error on failure. Hooks added through this API are called for all