summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/traceback.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst
index be1f43e..83d5c8c 100644
--- a/Doc/library/traceback.rst
+++ b/Doc/library/traceback.rst
@@ -353,6 +353,14 @@ capture data for later printing in a lightweight fashion.
.. versionchanged:: 3.6
Long sequences of repeated frames are now abbreviated.
+ .. method:: format_frame(frame)
+
+ Returns a string for printing one of the frames involved in the stack.
+ This method gets called for each frame object to be printed in the
+ :class:`StackSummary`.
+
+ .. versionadded:: 3.11
+
:class:`FrameSummary` Objects
-----------------------------