summaryrefslogtreecommitdiffstats
path: root/Tools/scripts/byext.py
diff options
context:
space:
mode:
authorCollin Winter <collinw@gmail.com>2007-08-03 17:06:41 (GMT)
committerCollin Winter <collinw@gmail.com>2007-08-03 17:06:41 (GMT)
commit6afaeb757af0dbd8508a0f2352ade61e41bec84c (patch)
treef1b31bc7138b17ff39791bbb45aa81583c3b6e46 /Tools/scripts/byext.py
parente5d0e8431f929cad2da77b63fe1b7dc0ff21a428 (diff)
downloadcpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.zip
cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.gz
cpython-6afaeb757af0dbd8508a0f2352ade61e41bec84c.tar.bz2
Convert print statements to function calls in Tools/.
Diffstat (limited to 'Tools/scripts/byext.py')
-rwxr-xr-xTools/scripts/byext.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/scripts/byext.py b/Tools/scripts/byext.py
index 998b4c0..1d58a94 100755
--- a/Tools/scripts/byext.py
+++ b/Tools/scripts/byext.py
@@ -109,14 +109,14 @@ class Stats:
cols.insert(0, "ext")
def printheader():
for col in cols:
- print "%*s" % (colwidth[col], col),
- print
+ print("%*s" % (colwidth[col], col), end=' ')
+ print()
printheader()
for ext in exts:
for col in cols:
value = self.stats[ext].get(col, "")
- print "%*s" % (colwidth[col], value),
- print
+ print("%*s" % (colwidth[col], value), end=' ')
+ print()
printheader() # Another header at the bottom
def main():