mirror of
https://github.com/python/cpython.git
synced 2025-07-23 03:05:38 +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
|
@ -28,7 +28,7 @@ def check1dir(dummy, dir, files):
|
|||
try:
|
||||
execfile(fullname)
|
||||
except:
|
||||
print '** Exception in', fullname
|
||||
print('** Exception in', fullname)
|
||||
|
||||
def walk1tree(tree):
|
||||
os.path.walk(tree, check1dir, None)
|
||||
|
@ -38,7 +38,7 @@ def main():
|
|||
try:
|
||||
options, arguments = getopt.getopt(sys.argv[1:], 'v:')
|
||||
except getopt.error:
|
||||
print USAGE
|
||||
print(USAGE)
|
||||
sys.exit(1)
|
||||
for o, a in options:
|
||||
if o == '-v':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue