Commit 245f528a authored by Stefan Hoelzl's avatar Stefan Hoelzl Committed by Stéphane Wirtel

Doc: Add link threading.settrace to sys.settrace (GH-13345)

parent ac8eb8f3
......@@ -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'``,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment