summaryrefslogtreecommitdiff
path: root/Doc/library
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2019-05-17 02:02:51 -0700
committerGitHub <noreply@github.com>2019-05-17 02:02:51 -0700
commit4be0720beb1b4ea778c943c4cb1b6a514e08753d (patch)
tree722fb6b3e4f659f9654c6a431de71eea48c56c13 /Doc/library
parentf02d1a43c6be658cd279edb90e8e96c99e1127e7 (diff)
downloadcpython-git-4be0720beb1b4ea778c943c4cb1b6a514e08753d.tar.gz
Doc: Add link threading.settrace to sys.settrace (GH-13345)
(cherry picked from commit 245f528a92d7748dbd7acf9cba860153c143bbfe) Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de>
Diffstat (limited to 'Doc/library')
-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 c2c653e00b..9a8c2ca0c5 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -1171,8 +1171,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'``,