Skip to content

Commit 24cf867

Browse files
authored
pythongh-121874: Define audit-event open parameters consistently (pythonGH-121883)
Use same names for parameters to avoid triggering a race-condition in Sphinx that causes non-deterministic output.
1 parent 63ddd28 commit 24cf867

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/functions.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1509,7 +1509,7 @@ are always available. They are listed here in alphabetical order.
15091509
(where :func:`open` is declared), :mod:`os`, :mod:`os.path`, :mod:`tempfile`,
15101510
and :mod:`shutil`.
15111511

1512-
.. audit-event:: open file,mode,flags open
1512+
.. audit-event:: open path,mode,flags open
15131513

15141514
The ``mode`` and ``flags`` arguments may have been modified or inferred from
15151515
the original call.

0 commit comments

Comments
 (0)