diff options
author | Ka-Ping Yee <ping@zesty.ca> | 2008-03-17 20:35:15 (GMT) |
---|---|---|
committer | Ka-Ping Yee <ping@zesty.ca> | 2008-03-17 20:35:15 (GMT) |
commit | ddaa7064ee81c48adc4fdea327892c29179f7845 (patch) | |
tree | e51842456cd053a08607b590f7a8303068be56bd /Lib/io.py | |
parent | e84b6336db4a2521de91aa916676bdf494aa8205 (diff) | |
download | cpython-ddaa7064ee81c48adc4fdea327892c29179f7845.zip cpython-ddaa7064ee81c48adc4fdea327892c29179f7845.tar.gz cpython-ddaa7064ee81c48adc4fdea327892c29179f7845.tar.bz2 |
Patch from jbalogh fixes issue #2282 (misnamed seekable() method).
Diffstat (limited to 'Lib/io.py')
-rw-r--r-- | Lib/io.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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): |