mirror of https://github.com/python/cpython
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:
parent
63ddd28cf3
commit
24cf867bed
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue