File tree Expand file tree Collapse file tree 2 files changed +12
-4
lines changed
Expand file tree Collapse file tree 2 files changed +12
-4
lines changed Original file line number Diff line number Diff line change @@ -174,10 +174,16 @@ tarfile
174174traceback
175175----------
176176
177- * The keyword only argument ``show_lines=True `` is added to all functions and
178- methods formatting or printing traceback. You can suppress the display of
179- source code lines in the traceback by passing ``show_lines=False ``.
180- (Contributed by Inada Naoki in TBD).
177+ * Add new ``show_lines `` and ``recent_first `` keyword only arguments to
178+ the :mod: `traceback ` functions.
179+
180+ The ``show_lines `` argument controls whether source code lines are displayed.
181+ It is default to ``True ``.
182+
183+ The ``recent_first `` argument controls whether the most recent frames are
184+ displayed first or last in the traceback. It affects wheher the exception
185+ is displayed at the top or bottom of the traceback. It is default to ``False ``.
186+ (Contributed by Inada Naoki in :gh: `135751 `)
181187
182188
183189zlib
Original file line number Diff line number Diff line change 1+ Add *show_lines * and *recent_first * parameters to APIs in :mod: `traceback `.
2+ Contributed by Inada Naoki.
You can’t perform that action at this time.
0 commit comments