mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Fix softspace relic.
This commit is contained in:
parent
24085d7940
commit
dc50c696ab
1 changed files with 2 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue