From 2aeae241ca882d4833ab8c2e3c88706cc4a4d388 Mon Sep 17 00:00:00 2001 From: "Miss Islington (bot)" <31488909+miss-islington@users.noreply.github.com> Date: Fri, 22 Aug 2025 20:25:55 +0200 Subject: [PATCH] [3.13] gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062) (GH-138069) 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 34a37490be02..66035e583b60 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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 `. *event* is a string: ``'call'``, ``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``. *arg* depends on the event type. -- 2.47.3