]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-37937: Mention frame.f_trace in sys.settrace docs (GH-15439)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Sep 2019 15:25:12 +0000 (08:25 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2019 15:25:12 +0000 (08:25 -0700)
commitfd4f28d894ee55d7ee1625c726c1859fcd1e2249
tree57ccb2402f86108f03749ea5ff6a6e71374254b9
parent2552e27b752f449b1d7046b384b14db0a69f46ad
bpo-37937: Mention frame.f_trace in sys.settrace docs (GH-15439)

Mention frame.f_trace in sys.settrace docs, as well as the fact you still
need to call `sys.settrace` to enable the tracing machinery before setting
`frame.f_trace` will have any effect.
(cherry picked from commit 9c2682efc69568e1b42a0c1759489d6f2e3b30ea)

Co-authored-by: Ram Rachum <ram@rachum.com>
Doc/library/sys.rst
Misc/NEWS.d/next/Documentation/2019-08-24-12-59-06.bpo-37937.F7fHbt.rst [new file with mode: 0644]