diff options
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r-- | Lib/traceback.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py index a15b818..a1cb5fb 100644 --- a/Lib/traceback.py +++ b/Lib/traceback.py @@ -402,7 +402,7 @@ class StackSummary(list): count += 1 else: if count > 3: - result.append(f' [Previous line repeated {count-3} more times]'+'\n') + result.append(f' [Previous line repeated {count-3} more times]\n') last_file = frame.filename last_line = frame.lineno last_name = frame.name @@ -419,7 +419,7 @@ class StackSummary(list): row.append(' {name} = {value}\n'.format(name=name, value=value)) result.append(''.join(row)) if count > 3: - result.append(f' [Previous line repeated {count-3} more times]'+'\n') + result.append(f' [Previous line repeated {count-3} more times]\n') return result |