Convert print statements to function calls in Tools/.

This commit is contained in:
Collin Winter 2007-08-03 17:06:41 +00:00
parent e5d0e8431f
commit 6afaeb757a
66 changed files with 777 additions and 779 deletions

View file

@ -26,8 +26,8 @@ def listcodecs(dir):
# Probably an error from importing the codec; still it's
# a valid code name
if _debug:
print '* problem importing codec %r: %s' % \
(name, reason)
print('* problem importing codec %r: %s' % \
(name, reason))
names.append(name)
return names
@ -35,7 +35,7 @@ def listcodecs(dir):
if __name__ == '__main__':
names = listcodecs(encodings.__path__[0])
names.sort()
print 'all_codecs = ['
print('all_codecs = [')
for name in names:
print ' %r,' % name
print ']'
print(' %r,' % name)
print(']')