bpo-36842: Implement PEP 578 (GH-12613)
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.
diff --git a/Doc/howto/instrumentation.rst b/Doc/howto/instrumentation.rst
index 50cde35..909deb5 100644
--- a/Doc/howto/instrumentation.rst
+++ b/Doc/howto/instrumentation.rst
@@ -332,6 +332,15 @@
.. versionadded:: 3.7
+.. c:function:: audit(str event, void *tuple)
+
+ Fires when :func:`sys.audit` or :c:func:`PySys_Audit` is called.
+ ``arg0`` is the event name as C string, ``arg1`` is a :c:type:`PyObject`
+ pointer to a tuple object.
+
+ .. versionadded:: 3.8
+
+
SystemTap Tapsets
-----------------