summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Hoelzl <stefan.hoelzl@posteo.de>2019-05-17 08:50:03 (GMT)
committerStéphane Wirtel <stephane@wirtel.be>2019-05-17 08:50:03 (GMT)
commit245f528a92d7748dbd7acf9cba860153c143bbfe (patch)
tree5fbff120a930b163500241e3833a00b4820fbed5
parentac8eb8f36bf7ca636f8d886eb65a3b532f4725d5 (diff)
downloadcpython-245f528a92d7748dbd7acf9cba860153c143bbfe.zip
cpython-245f528a92d7748dbd7acf9cba860153c143bbfe.tar.gz
cpython-245f528a92d7748dbd7acf9cba860153c143bbfe.tar.bz2
Doc: Add link threading.settrace to sys.settrace (GH-13345)
-rw-r--r--Doc/library/sys.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 591972e..5039ffa 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'``,