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

Co-authored-by: Krishna Chaitanya <141550576+XChaitanyaX@users.noreply.github.com>
This commit is contained in:
Miss Islington (bot) 2025-09-08 16:59:24 +02:00 committed by GitHub
parent 0cf8ac2973
commit efac05a135
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View 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.