From: Georg Brandl Date: Sun, 17 Oct 2010 11:06:14 +0000 (+0000) Subject: #9237: document sys.call_tracing(). X-Git-Tag: v3.2a4~478 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8527126f85d09e46c2e30f005373d8949d15e60a;p=thirdparty%2FPython%2Fcpython.git #9237: document sys.call_tracing(). --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 6540311dd6f0..23fdb09d39ce 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.