From 8527126f85d09e46c2e30f005373d8949d15e60a Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 17 Oct 2010 11:06:14 +0000 Subject: #9237: document sys.call_tracing(). --- Doc/library/sys.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 6540311..23fdb09 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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. -- cgit v0.12