From 5c4bbbe53975a658b9efca1d856cd7329d84dc25 Mon Sep 17 00:00:00 2001 From: "Bernhard M. Wiedemann" Date: Thu, 18 Jul 2024 12:05:39 +0200 Subject: [PATCH] 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. (cherry picked from commit 24cf867bed6035f33cd3b38d89d303b7522f12a6) Co-authored-by: Bernhard M. Wiedemann --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index f7fda9dcba413e..40352f31c19c7f 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -1440,7 +1440,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.