]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-121874: Define audit-event open parameters consistently (GH-121883)
authorBernhard M. Wiedemann <bwiedemann@suse.de>
Thu, 18 Jul 2024 10:05:39 +0000 (12:05 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Jul 2024 10:05:39 +0000 (13:05 +0300)
Use same names for parameters to avoid triggering a race-condition in Sphinx
that causes non-deterministic output.

Doc/library/functions.rst

index 26ab086f914d7d8b8f6dd29a937619c98a082ee8..83a15b2e568bede18d323fd0c6d6e97c8f1526ef 100644 (file)
@@ -1509,7 +1509,7 @@ are always available.  They are listed here in alphabetical order.
    (where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:`tempfile`,
    and :mod:`shutil`.
 
-   .. audit-event:: open file,mode,flags open
+   .. audit-event:: open path,mode,flags open
 
    The ``mode`` and ``flags`` arguments may have been modified or inferred from
    the original call.