]> 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:26:27 +0000 (08:26 -0700)
committerGitHub <noreply@github.com>
Fri, 20 Sep 2019 15:26:27 +0000 (08:26 -0700)
commitc410390e89071c4a4c2a437a227c14274add4116
tree7cd9fea592888bde43683233ad78360846a9a2ea
parent0ab6b01820afef44beea8158ba08b6469bf264a0
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]