mirror of https://github.com/python/cpython.git
#9237: document sys.call_tracing().
This commit is contained in:
parent
12c695cea9
commit
8527126f85
|
@ -55,6 +55,13 @@ always available.
|
|||
``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
|
||||
|
||||
A string containing the copyright pertaining to the Python interpreter.
|
||||
|
|
Loading…
Reference in New Issue