From 2055440ee79af620d72de5ba6915f21f6c47396e Mon Sep 17 00:00:00 2001 From: Stefan Hoelzl Date: Tue, 14 May 2019 22:59:08 +0200 Subject: [PATCH] link threading.settrace to sys.settrace skip news --- Doc/library/sys.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 591972e9b783a01..5039ffa933ac54f 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -1204,8 +1204,8 @@ always available. Set the system's trace function, which allows you to implement a Python source code debugger in Python. The function is thread-specific; for a - debugger to support multiple threads, it must be registered using - :func:`settrace` for each thread being debugged. + debugger to support multiple threads, it must register a trace function using + :func:`settrace` for each thread being debugged or use :func:`threading.settrace`. Trace functions should have three arguments: *frame*, *event*, and *arg*. *frame* is the current stack frame. *event* is a string: ``'call'``,