diff Lib/StringIO.py @ 22867:e2f2187c3d2c legacy-trunk

Partial introduction of bools where appropriate.
author Guido van Rossum <guido@python.org>
date Sun, 07 Apr 2002 06:36:23 +0000
parents e163713b47cf
children 60d86b2eab0f
line wrap: on
line diff
--- a/Lib/StringIO.py	Sun Apr 07 06:34:38 2002 +0000
+++ b/Lib/StringIO.py	Sun Apr 07 06:36:23 2002 +0000
@@ -59,7 +59,7 @@
     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: