@@ -128,7 +128,7 @@ are always available. They are listed here in alphabetical order.
128128 :func: `breakpoint ` will automatically call that, allowing you to drop into
129129 the debugger of choice.
130130
131- .. audit-event :: builtins.breakpoint "sys. breakpointhook"
131+ .. audit-event :: builtins.breakpoint breakpointhook breakpoint
132132
133133 .. versionadded :: 3.7
134134
@@ -277,7 +277,7 @@ are always available. They are listed here in alphabetical order.
277277 If you want to parse Python code into its AST representation, see
278278 :func: `ast.parse `.
279279
280- .. audit-event :: compile " source filename"
280+ .. audit-event :: compile source, filename compile
281281
282282 Raises an :ref: `auditing event <auditing >` ``compile `` with arguments
283283 ``source `` and ``filename ``. This event may also be raised by implicit
@@ -490,7 +490,7 @@ are always available. They are listed here in alphabetical order.
490490 See :func: `ast.literal_eval ` for a function that can safely evaluate strings
491491 with expressions containing only literals.
492492
493- .. audit-event :: exec code_object
493+ .. audit-event :: exec code_object eval
494494
495495 Raises an :ref: `auditing event <auditing >` ``exec `` with the code object
496496 as the argument. Code compilation events may also be raised.
@@ -525,7 +525,7 @@ are always available. They are listed here in alphabetical order.
525525 builtins are available to the executed code by inserting your own
526526 ``__builtins__ `` dictionary into *globals * before passing it to :func: `exec `.
527527
528- .. audit-event :: exec code_object
528+ .. audit-event :: exec code_object exec
529529
530530 Raises an :ref: `auditing event <auditing >` ``exec `` with the code object
531531 as the argument. Code compilation events may also be raised.
@@ -779,12 +779,12 @@ are always available. They are listed here in alphabetical order.
779779 If the :mod: `readline ` module was loaded, then :func: `input ` will use it
780780 to provide elaborate line editing and history features.
781781
782- .. audit-event :: builtins.input prompt
782+ .. audit-event :: builtins.input prompt input
783783
784784 Raises an :ref: `auditing event <auditing >` ``builtins.input `` with
785785 argument ``prompt `` before reading input
786786
787- .. audit-event :: builtins.input/result result
787+ .. audit-event :: builtins.input/result result input
788788
789789 Raises an auditing event ``builtins.input/result `` with the result after
790790 successfully reading input.
@@ -1222,7 +1222,7 @@ are always available. They are listed here in alphabetical order.
12221222 (where :func: `open ` is declared), :mod: `os `, :mod: `os.path `, :mod: `tempfile `,
12231223 and :mod: `shutil `.
12241224
1225- .. audit-event :: open " file mode flags"
1225+ .. audit-event :: open file, mode, flags open
12261226
12271227 The ``mode `` and ``flags `` arguments may have been modified or inferred from
12281228 the original call.
0 commit comments