mirror of
https://github.com/python/cpython.git
synced 2025-09-28 03:13:48 +00:00
#9237: document sys.call_tracing().
This commit is contained in:
parent
12c695cea9
commit
8527126f85
1 changed files with 7 additions and 0 deletions
|
@ -55,6 +55,13 @@ always available.
|
||||||
``modules.keys()`` only lists the imported modules.)
|
``modules.keys()`` only lists the imported modules.)
|
||||||
|
|
||||||
|
|
||||||
|
.. function:: call_tracing(func, args)
|
||||||
|
|
||||||
|
Call ``func(*args)``, while tracing is enabled. The tracing state is saved,
|
||||||
|
and restored afterwards. This is intended to be called from a debugger from
|
||||||
|
a checkpoint, to recursively debug some other code.
|
||||||
|
|
||||||
|
|
||||||
.. data:: copyright
|
.. data:: copyright
|
||||||
|
|
||||||
A string containing the copyright pertaining to the Python interpreter.
|
A string containing the copyright pertaining to the Python interpreter.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue