mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()
This commit is contained in:
parent
a5c64599d5
commit
af5c7cff56
2 changed files with 13 additions and 2 deletions
|
@ -334,7 +334,7 @@ class StreamReader(Codec):
|
|||
|
||||
"""
|
||||
data = self.read()
|
||||
return self.splitlines(keepends)
|
||||
return data.splitlines(keepends)
|
||||
|
||||
def reset(self):
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue