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

as well.
This commit is contained in:
Martin v. Löwis 2002-03-05 15:46:38 +00:00
parent 7bb466a1a5
commit b786e61b1c
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ class StreamReader(Codec):
return self.decode(line, self.errors)[0] 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 """ Read all lines available on the input stream
and return them as list of lines. and return them as list of lines.