SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()

This commit is contained in:
Hye-Shik Chang 2004-10-17 23:51:21 +00:00
parent a5c64599d5
commit af5c7cff56
2 changed files with 13 additions and 2 deletions

View file

@ -334,7 +334,7 @@ class StreamReader(Codec):
"""
data = self.read()
return self.splitlines(keepends)
return data.splitlines(keepends)
def reset(self):