https://github.com/python/cpython/commit/efac05a1355b32ccbb271ec3903e2cbe67307221
commit: efac05a1355b32ccbb271ec3903e2cbe67307221
branch: 3.14
author: Miss Islington (bot) <[email protected]>
committer: hugovk <[email protected]>
date: 2025-09-08T17:59:24+03:00
summary:

[3.14] gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062) 
(#138068)

Co-authored-by: Krishna Chaitanya 
<[email protected]>

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 52f0af31c68726..4c02a77489e1e4 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 <frame-objects>`. *event* 
is a string: ``'call'``,
    ``'line'``, ``'return'``, ``'exception'`` or ``'opcode'``.  *arg* depends on
    the event type.
 

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to