Patch from jbalogh fixes issue #2282 (misnamed seekable() method).

This commit is contained in:
Ka-Ping Yee 2008-03-17 20:35:15 +00:00
parent e84b6336db
commit ddaa7064ee
4 changed files with 10 additions and 1 deletions

View file

@ -1203,7 +1203,7 @@ class TextIOWrapper(TextIOBase):
# were rendered by the decoder after feeding it those bytes. We
# use this to reconstruct intermediate decoder states in tell().
def _seekable(self):
def seekable(self):
return self._seekable
def flush(self):