diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-10-17 23:51:21 (GMT) |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-10-17 23:51:21 (GMT) |
commit | af5c7cff56f15432464f6058d7116ce9359abee5 (patch) | |
tree | 9144b925c287e93506266748aa0ac608a169b9dc /Lib/codecs.py | |
parent | a5c64599d547565c48275601b67322aa3ef04c8b (diff) | |
download | cpython-af5c7cff56f15432464f6058d7116ce9359abee5.zip cpython-af5c7cff56f15432464f6058d7116ce9359abee5.tar.gz cpython-af5c7cff56f15432464f6058d7116ce9359abee5.tar.bz2 |
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r-- | Lib/codecs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py index f831dd6..ab12237 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -334,7 +334,7 @@ class StreamReader(Codec): """ data = self.read() - return self.splitlines(keepends) + return data.splitlines(keepends) def reset(self): |