mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Partial introduction of bools where appropriate.
This commit is contained in:
parent
b8bff3f4a9
commit
8ca162f417
18 changed files with 96 additions and 94 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue