]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062)
authorKrishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
Fri, 22 Aug 2025 16:28:33 +0000 (21:58 +0530)
committerGitHub <noreply@github.com>
Fri, 22 Aug 2025 16:28:33 +0000 (12:28 -0400)
Doc/library/sys.rst

index 771e0f2709a4aabc8a777465c782c3871038cb6b..30fd4db1fd18519a7ce006ad8a9ce77fca7d0f10 100644 (file)
@@ -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.