]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.13] gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 22 Aug 2025 18:25:55 +0000 (20:25 +0200)
committerGitHub <noreply@github.com>
Fri, 22 Aug 2025 18:25:55 +0000 (14:25 -0400)
gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062)
(cherry picked from commit f278afcabf1a1c4162a0bfd4912662517d5d04a2)

Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
Doc/library/sys.rst

index 34a37490be022bf8cd0e0b3557714db7c3d9c0a0..66035e583b6014c4c2961406d0ae09e26bc94669 100644 (file)
@@ -1626,7 +1626,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.