Skip to content

Commit ec18c46

Browse files
bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22770)
(cherry picked from commit ebc8c38) Co-authored-by: Saiyang Gou <[email protected]>
1 parent 1c5a657 commit ec18c46

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

Doc/library/ctypes.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1618,7 +1618,7 @@ They are instances of a private class:
16181618
``ctypes.seh_exception`` with argument ``code`` will be raised, allowing an
16191619
audit hook to replace the exception with its own.
16201620

1621-
.. audit-event:: ctypes.call_function func_pointer,arguments ctype-foreign-functions
1621+
.. audit-event:: ctypes.call_function func_pointer,arguments foreign-functions
16221622

16231623
Some ways to invoke foreign function calls may raise an auditing event
16241624
``ctypes.call_function`` with arguments ``function pointer`` and ``arguments``.
@@ -2545,4 +2545,3 @@ Arrays and pointers
25452545

25462546
Returns the object to which to pointer points. Assigning to this
25472547
attribute changes the pointer to point to the assigned object.
2548-

Doc/library/poplib.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The :mod:`poplib` module provides two classes:
6464

6565
.. audit-event:: poplib.connect self,host,port poplib.POP3_SSL
6666

67-
.. audit-event:: poplib.putline self,line popplib.POP3_SSL
67+
.. audit-event:: poplib.putline self,line poplib.POP3_SSL
6868

6969
All commands will raise an :ref:`auditing event <auditing>`
7070
``poplib.putline`` with arguments ``self`` and ``line``,

Doc/using/cmdline.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ conflict.
551551
the interactive session. You can also change the prompts :data:`sys.ps1` and
552552
:data:`sys.ps2` and the hook :data:`sys.__interactivehook__` in this file.
553553

554-
.. audit-event:: cpython.run_startup filename PYTHONSTARTUP
554+
.. audit-event:: cpython.run_startup filename envvar-PYTHONSTARTUP
555555

556556
Raises an :ref:`auditing event <auditing>` ``cpython.run_startup`` with
557557
the filename as the argument when called on startup.

0 commit comments

Comments
 (0)