aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/trace.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/trace.py')
-rw-r--r--Lib/trace.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/trace.py b/Lib/trace.py
index 1a4b0dbc349..7fffe8685c5 100644
--- a/Lib/trace.py
+++ b/Lib/trace.py
@@ -626,7 +626,7 @@ class Trace:
print('%.2f' % (time.time() - self.start_time), end=' ')
bname = os.path.basename(filename)
print("%s(%d): %s" % (bname, lineno,
- linecache.getline(filename, lineno)), end=' ')
+ linecache.getline(filename, lineno)), end='')
return self.localtrace
def localtrace_trace(self, frame, why, arg):
@@ -639,7 +639,7 @@ class Trace:
print('%.2f' % (time.time() - self.start_time), end=' ')
bname = os.path.basename(filename)
print("%s(%d): %s" % (bname, lineno,
- linecache.getline(filename, lineno)), end=' ')
+ linecache.getline(filename, lineno)), end='')
return self.localtrace
def localtrace_count(self, frame, why, arg):