summaryrefslogtreecommitdiffstats
path: root/Demo/scripts
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1995-01-04 19:18:59 (GMT)
committerGuido van Rossum <guido@python.org>1995-01-04 19:18:59 (GMT)
commit06ed202ef401633908cb0a5ee54978596afc952f (patch)
treeb641354176b927e0c03fe676331ad3fcba2dc1f7 /Demo/scripts
parent31cce9737477d924d9e1ea476920df72dab92495 (diff)
downloadcpython-06ed202ef401633908cb0a5ee54978596afc952f.zip
cpython-06ed202ef401633908cb0a5ee54978596afc952f.tar.gz
cpython-06ed202ef401633908cb0a5ee54978596afc952f.tar.bz2
sys.stderr(...) should be sys.stderr.write(), of course
Diffstat (limited to 'Demo/scripts')
-rwxr-xr-xDemo/scripts/mboxconvert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Demo/scripts/mboxconvert.py b/Demo/scripts/mboxconvert.py
index 5567173..ff7ca6a 100755
--- a/Demo/scripts/mboxconvert.py
+++ b/Demo/scripts/mboxconvert.py
@@ -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)