https://github.com/python/cpython/commit/f278afcabf1a1c4162a0bfd4912662517d5d04a2
commit: f278afcabf1a1c4162a0bfd4912662517d5d04a2
branch: main
author: Krishna Chaitanya <[email protected]>
committer: ZeroIntensity <[email protected]>
date: 2025-08-22T12:28:33-04:00
summary:
gh-91116: Add hyperlink from `sys.settrace` to frame objects (GH-138062)
files:
M Doc/library/sys.rst
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 <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]