Skip to content

Commit ebc8c38

Browse files
authored
bpo-41192: Fix some broken anchors for audit event entries (#21310)
1 parent b580ed1 commit ebc8c38

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
@@ -67,7 +67,7 @@ The :mod:`poplib` module provides two classes:
6767

6868
.. audit-event:: poplib.connect self,host,port poplib.POP3_SSL
6969

70-
.. audit-event:: poplib.putline self,line popplib.POP3_SSL
70+
.. audit-event:: poplib.putline self,line poplib.POP3_SSL
7171

7272
All commands will raise an :ref:`auditing event <auditing>`
7373
``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
@@ -558,7 +558,7 @@ conflict.
558558
the interactive session. You can also change the prompts :data:`sys.ps1` and
559559
:data:`sys.ps2` and the hook :data:`sys.__interactivehook__` in this file.
560560

561-
.. audit-event:: cpython.run_startup filename PYTHONSTARTUP
561+
.. audit-event:: cpython.run_startup filename envvar-PYTHONSTARTUP
562562

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

0 commit comments

Comments
 (0)