diff options
author | Steve Dower <steve.dower@python.org> | 2019-06-24 15:42:54 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-24 15:42:54 (GMT) |
commit | 60419a7e96577cf783b3b45bf3984f9fb0d7ddff (patch) | |
tree | 2718cb915663c42902621491ba60accce6729d42 /Doc/library/functions.rst | |
parent | 9bbf4d7083a819cbcee2a6cd3df2802d4c50f734 (diff) | |
download | cpython-60419a7e96577cf783b3b45bf3984f9fb0d7ddff.zip cpython-60419a7e96577cf783b3b45bf3984f9fb0d7ddff.tar.gz cpython-60419a7e96577cf783b3b45bf3984f9fb0d7ddff.tar.bz2 |
bpo-37363: Add audit events for a range of modules (GH-14301)
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r-- | Doc/library/functions.rst | 14 |
1 files changed, 8 insertions, 6 deletions
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 @@ are always available. They are listed here in alphabetical order. :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 @@ are always available. They are listed here in alphabetical order. .. 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 @@ are always available. They are listed here in alphabetical order. .. 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 @@ are always available. They are listed here in alphabetical order. .. 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 @@ are always available. They are listed here in alphabetical order. .. 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 |