mirror of
https://github.com/python/cpython.git
synced 2025-10-08 08:01:55 +00:00
Patch from jbalogh fixes issue #2282 (misnamed seekable() method).
This commit is contained in:
parent
e84b6336db
commit
ddaa7064ee
4 changed files with 10 additions and 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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue