summaryrefslogtreecommitdiff
path: root/Lib/traceback.py
diff options
context:
space:
mode:
authorEric V. Smith <eric@trueblade.com>2016-09-03 12:33:38 -0400
committerEric V. Smith <eric@trueblade.com>2016-09-03 12:33:38 -0400
commit06cf601e4f9ce57d12573943dda90d1ee4330b7a (patch)
treed3b6a1f37a07d07107b3ecca67506cadb9d60a8d /Lib/traceback.py
parent7c4e409d075fdb923807513353b18a75a4520eba (diff)
downloadcpython-git-06cf601e4f9ce57d12573943dda90d1ee4330b7a.tar.gz
Issue 27921: Remove backslash from another f-string. I'll revert this change before beta 2. I also need to look in to why test_tools/test_unparse fails with the files that are now being skipped.
Diffstat (limited to 'Lib/traceback.py')
-rw-r--r--Lib/traceback.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/traceback.py b/Lib/traceback.py
index 6fc643628e..a15b818565 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