mirror of
https://github.com/python/cpython.git
synced 2026-01-30 22:55:41 +00:00
[3.14] gh-91116: Add hyperlink from sys.settrace to frame objects (GH-138062) (#138068)
Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
This commit is contained in:
parent
0cf8ac2973
commit
efac05a135
@ -1764,7 +1764,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
|
||||
: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'``,
|
||||
*arg*. *frame* is the :ref:`current stack frame <frame-objects>`. *event* is a string: ``'call'``,
|
||||
``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``. *arg* depends on
|
||||
the event type.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user