sys.stderr(...) should be sys.stderr.write(), of course

This commit is contained in:
Guido van Rossum 1995-01-04 19:18:59 +00:00
parent 31cce97374
commit 06ed202ef4

View File

@ -40,7 +40,7 @@ def main():
sts = dofile(f) or sts sts = dofile(f) or sts
f.close() f.close()
else: else:
sys.stderr('%s: not found\n' % arg) sys.stderr.write('%s: not found\n' % arg)
sts = 1 sts = 1
if sts: if sts:
sys.exit(sts) sys.exit(sts)