]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 8 Sep 2025 14:59:24 +0000 (16:59 +0200)
committerGitHub <noreply@github.com>
Mon, 8 Sep 2025 14:59:24 +0000 (17:59 +0300)
Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
Doc/library/sys.rst

index 52f0af31c68726a9d35e80905dc703e36acf0eb5..4c02a77489e1e49095eb1b7c5a2456cfe1de9206 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.