mirror of
https://github.com/python/cpython.git
synced 2025-07-18 16:55:20 +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
|
@ -21,8 +21,8 @@ def main():
|
|||
try:
|
||||
opts, args = getopt.getopt(sys.argv[1:], "n:")
|
||||
except getopt.error as msg:
|
||||
print msg
|
||||
print __doc__,
|
||||
print(msg)
|
||||
print(__doc__, end=' ')
|
||||
return 1
|
||||
global cutofftime
|
||||
newerfile = None
|
||||
|
@ -57,7 +57,7 @@ def process(dir):
|
|||
if cutofftime and getmtime(fullname) <= cutofftime:
|
||||
pass
|
||||
else:
|
||||
print fullname
|
||||
print(fullname)
|
||||
for sub in subdirs:
|
||||
process(sub)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue