summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Lib/codecs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index fff8ed7..1a71fab 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -324,11 +324,11 @@ class StreamReaderWriter:
return self.reader.read(size)
- def readline(size=None):
+ def readline(self, size=None):
return self.reader.readline(size)
- def readlines(sizehint=None):
+ def readlines(self, sizehint=None):
return self.reader.readlines(sizehint)