Skip to content

Commit a45d3fd

Browse files
[3.13] gh-136697: Use the standard audit event format for sys.monitor… (#136750)
* [3.13] gh-136697: Use the standard audit event format for sys.monitoring docs (GH-136747) (cherry picked from commit 28937d3) Co-authored-by: Tian Gao <gaogaotiantian@hotmail.com>
1 parent 46fe8e3 commit a45d3fd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Doc/library/sys.monitoring.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,13 @@ To register a callable for events call
314314
it is unregistered and returned.
315315
Otherwise :func:`register_callback` returns ``None``.
316316

317+
.. audit-event:: sys.monitoring.register_callback func sys.monitoring.register_callback
317318

318319
Functions can be unregistered by calling
319320
``sys.monitoring.register_callback(tool_id, event, None)``.
320321

321322
Callback functions can be registered and unregistered at any time.
322323

323-
Registering or unregistering a callback function will generate a :func:`sys.audit` event.
324-
325324

326325
Callback function arguments
327326
'''''''''''''''''''''''''''

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy