mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Convert print statements to function calls in Tools/.
This commit is contained in:
parent
e5d0e8431f
commit
6afaeb757a
66 changed files with 777 additions and 779 deletions
|
@ -51,7 +51,7 @@ def show(total, d, prefix):
|
|||
if tsub is None:
|
||||
psub = prefix
|
||||
else:
|
||||
print prefix + repr(tsub).rjust(width) + ' ' + key
|
||||
print(prefix + repr(tsub).rjust(width) + ' ' + key)
|
||||
psub = prefix + ' '*(width-1) + '|' + ' '*(len(key)+1)
|
||||
if d.has_key(key):
|
||||
show(tsub, d[key][1], psub)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue