]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-121874: Define audit-event open parameters consistently (GH-121883) (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 18 Jul 2024 10:12:40 +0000 (12:12 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Jul 2024 10:12:40 +0000 (10:12 +0000)
Use same names for parameters to avoid triggering a race-condition in Sphinx
that causes non-deterministic output.
(cherry picked from commit 24cf867bed6035f33cd3b38d89d303b7522f12a6)

Co-authored-by: Bernhard M. Wiedemann <bwiedemann@suse.de>
Doc/library/functions.rst

index f7fda9dcba413ead40898fb25cc85d199337656a..40352f31c19c7fdd64e6ea9ad9833365970384a9 100644 (file)
@@ -1440,7 +1440,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.