From ddaa7064ee81c48adc4fdea327892c29179f7845 Mon Sep 17 00:00:00 2001 From: Ka-Ping Yee Date: Mon, 17 Mar 2008 20:35:15 +0000 Subject: Patch from jbalogh fixes issue #2282 (misnamed seekable() method). --- Lib/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/io.py') diff --git a/Lib/io.py b/Lib/io.py index 24bf37bff1..98843d3816 100644 --- a/Lib/io.py +++ b/Lib/io.py @@ -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): -- cgit v1.2.1