]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
bpo-41192: Fix some broken anchors for audit event entries (GH-21310) (GH-22767)
authorMiss Skeleton (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 19 Oct 2020 15:39:25 +0000 (08:39 -0700)
committerGitHub <noreply@github.com>
Mon, 19 Oct 2020 15:39:25 +0000 (11:39 -0400)
(cherry picked from commit ebc8c3828779374b9be4fae5c8ffc0059d36ac8c)

Co-authored-by: Saiyang Gou <gousaiyang@163.com>
Doc/library/ctypes.rst
Doc/library/poplib.rst
Doc/using/cmdline.rst

index 2d6c6d0a1c3c574c2648a2eb76631f633af2e7e7..c172d5377636a77f4747f2ad0b5d9ff78d45b3c7 100644 (file)
@@ -1618,7 +1618,7 @@ They are instances of a private class:
    ``ctypes.seh_exception`` with argument ``code`` will be raised, allowing an
    audit hook to replace the exception with its own.
 
-.. audit-event:: ctypes.call_function func_pointer,arguments ctype-foreign-functions
+.. audit-event:: ctypes.call_function func_pointer,arguments foreign-functions
 
    Some ways to invoke foreign function calls may raise an auditing event
    ``ctypes.call_function`` with arguments ``function pointer`` and ``arguments``.
@@ -2545,4 +2545,3 @@ Arrays and pointers
 
         Returns the object to which to pointer points.  Assigning to this
         attribute changes the pointer to point to the assigned object.
-
index 2f349b35b7e0ff393031de21b9154d7782a9ba6a..9bf9212d917a55d0dcc2ecb1c7051fd55072b1d6 100644 (file)
@@ -67,7 +67,7 @@ The :mod:`poplib` module provides two classes:
 
    .. audit-event:: poplib.connect self,host,port poplib.POP3_SSL
 
-   .. audit-event:: poplib.putline self,line popplib.POP3_SSL
+   .. audit-event:: poplib.putline self,line poplib.POP3_SSL
 
       All commands will raise an :ref:`auditing event <auditing>`
       ``poplib.putline`` with arguments ``self`` and ``line``,
index f91ab020da5cf29485adc8b1099076f14d935dc9..95342f3a510e194d45dc1dcb74c585ea8d155c46 100644 (file)
@@ -555,7 +555,7 @@ conflict.
    the interactive session.  You can also change the prompts :data:`sys.ps1` and
    :data:`sys.ps2` and the hook :data:`sys.__interactivehook__` in this file.
 
-   .. audit-event:: cpython.run_startup filename PYTHONSTARTUP
+   .. audit-event:: cpython.run_startup filename envvar-PYTHONSTARTUP
 
       Raises an :ref:`auditing event <auditing>` ``cpython.run_startup`` with
       the filename as the argument when called on startup.