summaryrefslogtreecommitdiff
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-04-07 06:36:23 +0000
committerGuido van Rossum <guido@python.org>2002-04-07 06:36:23 +0000
commitbfc88c2e4720ca7905b5962031e93d9de5e09dea (patch)
treecdaacf219e22d82081437c1311c102f375808a62 /Lib/StringIO.py
parent8efae3ac61d5744bfbea5399478b28fc6b4b6ea7 (diff)
downloadcpython-bfc88c2e4720ca7905b5962031e93d9de5e09dea.tar.gz
Partial introduction of bools where appropriate.
Diffstat (limited to 'Lib/StringIO.py')
-rw-r--r--Lib/StringIO.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/StringIO.py b/Lib/StringIO.py
index 087092e5c5..cc88e9de4d 100644
--- a/Lib/StringIO.py
+++ b/Lib/StringIO.py
@@ -59,7 +59,7 @@ class StringIO:
def isatty(self):
if self.closed:
raise ValueError, "I/O operation on closed file"
- return 0
+ return False
def seek(self, pos, mode = 0):
if self.closed: