@@ -33,7 +33,7 @@ def print_list(extracted_list, file=None, *, show_lines=True):
3333 To print in "recent call first" order, call "extracted_list.reverse()"
3434 before passing it to this function.
3535
36- If 'show_lines' is false , source code lines are not included in the output.
36+ If 'show_lines' is true , source code lines are included in the output.
3737 """
3838 if file is None :
3939 file = sys .stderr
@@ -51,7 +51,7 @@ def format_list(extracted_list, *, show_lines=True):
5151 Each string ends in a newline; the strings may contain internal newlines as
5252 well, for those items whose source text line is not None.
5353
54- If 'show_lines' is false , source code lines are not included in the output.
54+ If 'show_lines' is true , source code lines are included in the output.
5555 """
5656 return StackSummary .from_list (extracted_list ).format (show_lines = show_lines )
5757
@@ -67,7 +67,7 @@ def print_tb(tb, limit=None, file=None, *, show_lines=True, recent_first=False):
6767 'file' should be an open file or file-like object with a write()
6868 method.
6969
70- If 'show_lines' is false , source code lines are not included in the output.
70+ If 'show_lines' is true , source code lines are included in the output.
7171 If 'recent_first' is true, the stack trace is printed in "most recent call
7272 first" order.
7373 """
@@ -147,7 +147,7 @@ def print_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None,
147147 occurred with a caret on the next line indicating the approximate
148148 position of the error.
149149
150- If 'show_lines' is false , source code lines are not included in the output.
150+ If 'show_lines' is true , source code lines are included in the output.
151151 If 'recent_first' is true, exception is printed first and traceback is shown
152152 by "most recent call first" order.
153153 """
@@ -268,7 +268,7 @@ def print_stack(f=None, limit=None, file=None, *, show_lines=True, recent_first=
268268 stack frame at which to start. The optional 'limit' and 'file'
269269 arguments have the same meaning as for print_exception().
270270
271- If 'show_lines' is false , source code lines are not included in the output.
271+ If 'show_lines' is true , source code lines are included in the output.
272272 If 'recent_first' is true, stack is printed by "most recent call first" order.
273273 """
274274 if f is None :
0 commit comments