-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
Summary
sys.monitoring.register_callback()
is mentioned in the sys.monitoring
docs as a function which generates audit events, but it doesn't have a corresponding entry in the audit events table.
Cause
The corresponding audit-event
(definition; usage example (glob.glob
)) directive is missing from Doc/library/sys.monitoring.rst
.
Possible fix
According to Python/instrumentation.c
, the event is raised under the name 'sys.monitoring.register_callback'
with a single argument (the registered callback or None
). So maybe something like:
.. audit-event:: sys.monitoring.register_callback func sys.monitoring.register_callback
Linked PRs
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo