mirror of
https://github.com/python/cpython.git
synced 2025-12-23 09:19:18 +00:00
gh-118915: Document PY_MONITORING_IS_INSTRUMENTED_EVENT (GH-128026)
This commit is contained in:
parent
49234c065c
commit
f819900245
2 changed files with 14 additions and 0 deletions
|
|
@ -196,3 +196,15 @@ would typically correspond to a python function.
|
||||||
.. c:function:: int PyMonitoring_ExitScope(void)
|
.. c:function:: int PyMonitoring_ExitScope(void)
|
||||||
|
|
||||||
Exit the last scope that was entered with :c:func:`!PyMonitoring_EnterScope`.
|
Exit the last scope that was entered with :c:func:`!PyMonitoring_EnterScope`.
|
||||||
|
|
||||||
|
|
||||||
|
.. c:function:: int PY_MONITORING_IS_INSTRUMENTED_EVENT(uint8_t ev)
|
||||||
|
|
||||||
|
Return true if the event corresponding to the event ID *ev* is
|
||||||
|
a :ref:`local event <monitoring-event-local>`.
|
||||||
|
|
||||||
|
.. versionadded:: 3.13
|
||||||
|
|
||||||
|
.. deprecated:: next
|
||||||
|
|
||||||
|
This function is :term:`soft deprecated`.
|
||||||
|
|
|
||||||
|
|
@ -173,6 +173,8 @@ events, use the expression ``PY_RETURN | PY_START``.
|
||||||
|
|
||||||
Events are divided into three groups:
|
Events are divided into three groups:
|
||||||
|
|
||||||
|
.. _monitoring-event-local:
|
||||||
|
|
||||||
Local events
|
Local events
|
||||||
''''''''''''
|
''''''''''''
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue