summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/file.rst
diff options
context:
space:
mode:
authorSaiyang Gou <gousaiyang@163.com>2020-10-20 19:23:15 (GMT)
committerGitHub <noreply@github.com>2020-10-20 19:23:15 (GMT)
commit3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7 (patch)
tree9618ece119809521ba77c603bfbd4a5c5691694d /Doc/c-api/file.rst
parent1d3469988e2c1f53ca84ffdc979d548c04ba3906 (diff)
downloadcpython-3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7.zip
cpython-3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7.tar.gz
cpython-3f7e990fd49dbabc1dde41ce58c1bdda9f56ead7.tar.bz2
bpo-41192: Add documentation of undocumented audit events (GH-21308)
Diffstat (limited to 'Doc/c-api/file.rst')
-rw-r--r--Doc/c-api/file.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/file.rst b/Doc/c-api/file.rst
index ea027ee..ed3735a 100644
--- a/Doc/c-api/file.rst
+++ b/Doc/c-api/file.rst
@@ -82,6 +82,8 @@ the :mod:`io` APIs instead.
This function is safe to call before :c:func:`Py_Initialize`.
+ .. audit-event:: setopencodehook "" c.PyFile_SetOpenCodeHook
+
.. versionadded:: 3.8