summaryrefslogtreecommitdiff
path: root/Lib/StringIO.py
diff options
context:
space:
mode:
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: