diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-12 13:20:26 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-12 13:20:26 (GMT) |
commit | 2f01cf61874aa42eeb9999e49d51d4881792d9c4 (patch) | |
tree | 593d20c62e0f58c73129e045ee46fbfba6c9d285 /Doc/c-api/init.rst | |
parent | 67b90a079c39066aa9d51690fe5678c36ccbc258 (diff) | |
download | cpython-2f01cf61874aa42eeb9999e49d51d4881792d9c4.zip cpython-2f01cf61874aa42eeb9999e49d51d4881792d9c4.tar.gz cpython-2f01cf61874aa42eeb9999e49d51d4881792d9c4.tar.bz2 |
bpo-37363: Document internal audit events (GH-14663)
Three internal cpython events were not documented, yet.
Signed-off-by: Christian Heimes <christian@python.org>
https://bugs.python.org/issue37363
(cherry picked from commit ed4b3216e59df4806e5ef63b3357fc577a9443d7)
Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'Doc/c-api/init.rst')
-rw-r--r-- | Doc/c-api/init.rst | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Doc/c-api/init.rst b/Doc/c-api/init.rst index e0558f4..0f8ff3b 100644 --- a/Doc/c-api/init.rst +++ b/Doc/c-api/init.rst @@ -301,8 +301,9 @@ Initializing and finalizing the interpreter than once; this can happen if an application calls :c:func:`Py_Initialize` and :c:func:`Py_FinalizeEx` more than once. - .. versionadded:: 3.6 + .. audit-event:: cpython._PySys_ClearAuditHooks "" c.Py_FinalizeEx + .. versionadded:: 3.6 .. c:function:: void Py_Finalize() @@ -992,12 +993,16 @@ All of the following functions must be called after :c:func:`Py_Initialize`. be held, but may be held if it is necessary to serialize calls to this function. + .. audit-event:: cpython.PyInterpreterState_New "" c.PyInterpreterState_New + .. c:function:: void PyInterpreterState_Clear(PyInterpreterState *interp) Reset all information in an interpreter state object. The global interpreter lock must be held. + .. audit-event:: cpython.PyInterpreterState_Clear "" c.PyInterpreterState_Clear + .. c:function:: void PyInterpreterState_Delete(PyInterpreterState *interp) |