diff options
author | Hye-Shik Chang <hyeshik@gmail.com> | 2004-10-17 23:51:21 +0000 |
---|---|---|
committer | Hye-Shik Chang <hyeshik@gmail.com> | 2004-10-17 23:51:21 +0000 |
commit | fed6a7937a412cebec987f12c92e01a0546ec291 (patch) | |
tree | 0823046ab65be3ed42f7d3924e7aa8a5528f5be0 /Lib/codecs.py | |
parent | 4662094311d9a0fd14e084ab1c9e86a5de566828 (diff) | |
download | cpython-fed6a7937a412cebec987f12c92e01a0546ec291.tar.gz |
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 f831dd6337..ab12237f88 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): |