bpo-37363: Add audit events for a range of modules (GH-14301)
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 8897705..637c82b 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -128,6 +128,8 @@
:func:`breakpoint` will automatically call that, allowing you to drop into
the debugger of choice.
+ .. audit-event:: builtins.breakpoint "sys.breakpointhook"
+
.. versionadded:: 3.7
.. _func-bytearray:
@@ -277,7 +279,7 @@
.. audit-event:: compile "source filename"
- Raises an :func:`auditing event <sys.audit>` ``compile`` with arguments
+ Raises an :ref:`auditing event <auditing>` ``compile`` with arguments
``source`` and ``filename``. This event may also be raised by implicit
compilation.
@@ -490,8 +492,8 @@
.. audit-event:: exec code_object
- Raises an :func:`auditing event <sys.audit>` ``exec`` with the code object as
- the argument. Code compilation events may also be raised.
+ Raises an :ref:`auditing event <auditing>` ``exec`` with the code object
+ as the argument. Code compilation events may also be raised.
.. index:: builtin: exec
@@ -525,8 +527,8 @@
.. audit-event:: exec code_object
- Raises an :func:`auditing event <sys.audit>` ``exec`` with the code object as
- the argument. Code compilation events may also be raised.
+ Raises an :ref:`auditing event <auditing>` ``exec`` with the code object
+ as the argument. Code compilation events may also be raised.
.. note::
@@ -779,7 +781,7 @@
.. audit-event:: builtins.input prompt
- Raises an :func:`auditing event <sys.audit>` ``builtins.input`` with
+ Raises an :ref:`auditing event <auditing>` ``builtins.input`` with
argument ``prompt`` before reading input
.. audit-event:: builtins.input/result result