diff options
Diffstat (limited to 'Doc/library/traceback.rst')
-rw-r--r-- | Doc/library/traceback.rst | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/traceback.rst b/Doc/library/traceback.rst index 83d5c8c..7b23049 100644 --- a/Doc/library/traceback.rst +++ b/Doc/library/traceback.rst @@ -357,7 +357,8 @@ capture data for later printing in a lightweight fashion. 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`. + :class:`StackSummary`. If it returns ``None``, the frame is omitted + from the output. .. versionadded:: 3.11 |