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.
  • Loading branch information
bmwiedemann authored Jul 18, 2024
1 parent 63ddd28 commit 24cf867
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 @@ -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.
Expand Down

0 comments on commit 24cf867

Please sign in to comment.