summaryrefslogtreecommitdiff
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorHye-Shik Chang <hyeshik@gmail.com>2004-10-17 23:51:21 +0000
committerHye-Shik Chang <hyeshik@gmail.com>2004-10-17 23:51:21 +0000
commitfed6a7937a412cebec987f12c92e01a0546ec291 (patch)
tree0823046ab65be3ed42f7d3924e7aa8a5528f5be0 /Lib/codecs.py
parent4662094311d9a0fd14e084ab1c9e86a5de566828 (diff)
downloadcpython-fed6a7937a412cebec987f12c92e01a0546ec291.tar.gz
SF #1048865: Fix a trivial typo that breaks StreamReader.readlines()
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py2
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):