Skip to content

Commit

Permalink
pythongh-121874: Define audit-event open parameters consistently (pyt…
Browse files Browse the repository at this point in the history
…honGH-121883)

Use same names for parameters to avoid triggering a race-condition in Sphinx
that causes non-deterministic output.
(cherry picked from commit 24cf867)

Co-authored-by: Bernhard M. Wiedemann <[email protected]>
  • Loading branch information
bmwiedemann authored and miss-islington committed Jul 18, 2024
1 parent afa5321 commit 9f3fb62
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Doc/library/functions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1502,7 +1502,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.
Expand Down

0 comments on commit 9f3fb62

Please sign in to comment.