Commit b786e61b authored by Martin v. Löwis's avatar Martin v. Löwis

Set default value for readlines.sizehint to None. Change needed for 2.2.1

as well.
parent 7bb466a1
......@@ -252,7 +252,7 @@ class StreamReader(Codec):
return self.decode(line, self.errors)[0]
def readlines(self, sizehint=0):
def readlines(self, sizehint=None):
""" Read all lines available on the input stream
and return them as list of lines.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment