From 130bc3853eb841881130cf7bf61ac74d11986ac2 Mon Sep 17 00:00:00 2001 From: Chaitanya Date: Fri, 22 Aug 2025 18:42:26 +0530 Subject: [PATCH] add hyperlink from settrace to frame --- 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 771e0f2709a4aa..30fd4db1fd1851 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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 `. *event* is a string: ``'call'``, ``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``. *arg* depends on the event type.