Commit ed4b3216 authored by Christian Heimes's avatar Christian Heimes Committed by Miss Islington (bot)

bpo-37363: Document internal audit events (GH-14663)



Three internal cpython events were not documented, yet.
Signed-off-by: default avatarChristian Heimes <christian@python.org>



https://bugs.python.org/issue37363
parent f9dc2ad8
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment