mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
Fix softspace relic.
This commit is contained in:
parent
24085d7940
commit
dc50c696ab
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user