[Python-checkins] r85636 - python/branches/py3k/Doc/library/sys.rst

georg.brandl python-checkins at python.org
Sun Oct 17 13:06:14 CEST 2010


Author: georg.brandl
Date: Sun Oct 17 13:06:14 2010
New Revision: 85636
Log:
#9237: document sys.call_tracing().
Modified:
 python/branches/py3k/Doc/library/sys.rst
Modified: python/branches/py3k/Doc/library/sys.rst
==============================================================================
--- python/branches/py3k/Doc/library/sys.rst	(original)
+++ python/branches/py3k/Doc/library/sys.rst	Sun Oct 17 13:06:14 2010
@@ -55,6 +55,13 @@
 ``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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /