mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
GH-111963: Clarify sys.monitoring.free_tool_id's limitations (GH-112291)
This commit is contained in:
parent
9d70831cb7
commit
46500c42f0
1 changed files with 7 additions and 0 deletions
|
|
@ -54,6 +54,13 @@ Registering and using tools
|
|||
|
||||
Should be called once a tool no longer requires *tool_id*.
|
||||
|
||||
.. note::
|
||||
|
||||
:func:`free_tool_id` will not disable global or local events associated
|
||||
with *tool_id*, nor will it unregister any callback functions. This
|
||||
function is only intended to be used to notify the VM that the
|
||||
particular *tool_id* is no longer in use.
|
||||
|
||||
.. function:: get_tool(tool_id: int, /) -> str | None
|
||||
|
||||
Returns the name of the tool if *tool_id* is in use,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue