gh-121874: Define audit-event open parameters consistently (GH-121883)

Use same names for parameters to avoid triggering a race-condition in Sphinx
that causes non-deterministic output.
This commit is contained in:
Bernhard M. Wiedemann 2024-07-18 12:05:39 +02:00 committed by GitHub
parent 63ddd28cf3
commit 24cf867bed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View 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`, (where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:`tempfile`,
and :mod:`shutil`. 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 ``mode`` and ``flags`` arguments may have been modified or inferred from
the original call. the original call.