[Python-checkins] Doc: Add link threading.settrace to sys.settrace (GH-13345)
Stéphane Wirtel
webhook-mailer at python.org
Fri May 17 04:50:17 EDT 2019
https://github.com/python/cpython/commit/245f528a92d7748dbd7acf9cba860153c143bbfe
commit: 245f528a92d7748dbd7acf9cba860153c143bbfe
branch: master
author: Stefan Hoelzl <stefan.hoelzl at posteo.de>
committer: Stéphane Wirtel <stephane at wirtel.be>
date: 2019-05-17T10:50:03+02:00
summary:
Doc: Add link threading.settrace to sys.settrace (GH-13345)
files:
M Doc/library/sys.rst
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 591972e9b783..5039ffa933ac 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'``,
More information about the Python-checkins
mailing list