@@ -33,7 +33,7 @@ def print_list(extracted_list, file=None, *, show_lines=True):
33
33
To print in "recent call first" order, call "extracted_list.reverse()"
34
34
before passing it to this function.
35
35
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.
37
37
"""
38
38
if file is None :
39
39
file = sys .stderr
@@ -51,7 +51,7 @@ def format_list(extracted_list, *, show_lines=True):
51
51
Each string ends in a newline; the strings may contain internal newlines as
52
52
well, for those items whose source text line is not None.
53
53
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.
55
55
"""
56
56
return StackSummary .from_list (extracted_list ).format (show_lines = show_lines )
57
57
@@ -67,7 +67,7 @@ def print_tb(tb, limit=None, file=None, *, show_lines=True, recent_first=False):
67
67
'file' should be an open file or file-like object with a write()
68
68
method.
69
69
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.
71
71
If 'recent_first' is true, the stack trace is printed in "most recent call
72
72
first" order.
73
73
"""
@@ -147,7 +147,7 @@ def print_exception(exc, /, value=_sentinel, tb=_sentinel, limit=None,
147
147
occurred with a caret on the next line indicating the approximate
148
148
position of the error.
149
149
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.
151
151
If 'recent_first' is true, exception is printed first and traceback is shown
152
152
by "most recent call first" order.
153
153
"""
@@ -268,7 +268,7 @@ def print_stack(f=None, limit=None, file=None, *, show_lines=True, recent_first=
268
268
stack frame at which to start. The optional 'limit' and 'file'
269
269
arguments have the same meaning as for print_exception().
270
270
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.
272
272
If 'recent_first' is true, stack is printed by "most recent call first" order.
273
273
"""
274
274
if f is None :
0 commit comments