Skip to content

Commit 878ea1d

Browse files
methaneCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <[email protected]>
1 parent fc0bf9b commit 878ea1d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

Doc/library/traceback.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,7 @@ Module-Level Functions
119119
:attr:`~BaseException.__cause__` or :attr:`~BaseException.__context__`
120120
attributes of the exception) will be
121121
printed as well, like the interpreter itself does when printing an unhandled
122-
exception. If *show_lines* is ``False``, source code lines are not included
123-
in the output.
122+
exception.
124123

125124
If *show_lines* is false, source code lines are not included in the output.
126125

Doc/whatsnew/3.15.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ traceback
181181
It is default to ``True``.
182182

183183
The ``recent_first`` argument controls whether the most recent frames are
184-
displayed first or last in the traceback. It affects wheher the exception
184+
displayed first or last in the traceback. It affects whether the exception
185185
is displayed at the top or bottom of the traceback. It is default to ``False``.
186186
(Contributed by Inada Naoki in :gh:`135751`)
187187

0 commit comments

Comments
 (0)