From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Fri, 9 Aug 2024 14:35:49 +0000 (+0200) Subject: [3.13] gh-121874: Define audit-event open parameters consistently (GH-121883) (#121956) X-Git-Tag: v3.13.0rc2~165 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=406f924ddafa0d8aef08cf1af6048c81c048485d;p=thirdparty%2FPython%2Fcpython.git [3.13] gh-121874: Define audit-event open parameters consistently (GH-121883) (#121956) Co-authored-by: Bernhard M. Wiedemann Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index c0d903d54d9c..850805b262c7 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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.