https://github.com/python/cpython/commit/1d915aaf5c925e7e8d5c783af9174a2e5ea6a8a4
commit: 1d915aaf5c925e7e8d5c783af9174a2e5ea6a8a4
branch: 3.12
author: Miss Islington (bot) <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2024-07-18T10:12:40Z
summary:

[3.12] gh-121874: Define audit-event open parameters consistently (GH-121883) 
(GH-121955)

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 <[email protected]>

files:
M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index f7fda9dcba413e..40352f31c19c7f 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]

Reply via email to