mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
sys.stderr(...) should be sys.stderr.write(), of course
This commit is contained in:
parent
31cce97374
commit
06ed202ef4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ def main():
|
|||
sts = dofile(f) or sts
|
||||
f.close()
|
||||
else:
|
||||
sys.stderr('%s: not found\n' % arg)
|
||||
sys.stderr.write('%s: not found\n' % arg)
|
||||
sts = 1
|
||||
if sts:
|
||||
sys.exit(sts)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue