Skip to content

Commit f278afc

Browse files
authored
gh-91116: Add hyperlink from sys.settrace to frame objects (GH-138062)
1 parent b9bcd02 commit f278afc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Doc/library/sys.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1764,7 +1764,7 @@ always available. Unless explicitly noted otherwise, all variables are read-only
17641764
:func:`settrace` for each thread being debugged or use :func:`threading.settrace`.
17651765

17661766
Trace functions should have three arguments: *frame*, *event*, and
1767-
*arg*. *frame* is the current stack frame. *event* is a string: ``'call'``,
1767+
*arg*. *frame* is the :ref:`current stack frame <frame-objects>`. *event* is a string: ``'call'``,
17681768
``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``. *arg* depends on
17691769
the event type.
17701770

0 commit comments

Comments
 (0)