Doc: Add link threading.settrace to sys.settrace (GH-13345)
authorStefan Hoelzl <stefan.hoelzl@posteo.de>
Fri, 17 May 2019 08:50:03 +0000 (10:50 +0200)
committerStéphane Wirtel <stephane@wirtel.be>
Fri, 17 May 2019 08:50:03 +0000 (10:50 +0200)
Doc/library/sys.rst

index 591972e9b783a018a4b2337548cbab9e03972278..5039ffa933ac54f3de79245cff18843fd223f48d 100644 (file)
@@ -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'``,