summaryrefslogtreecommitdiff
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-04-21 21:42:35 +0000
committerWalter Dörwald <walter@livinglogic.de>2005-04-21 21:42:35 +0000
commita4eb2d56a4cddd41fb649628107d51902b53f00a (patch)
treed4fe100aa951baf1e07cc1b1359bffaccfcec9a9 /Lib/codecs.py
parentbc8e642c1bfbef3b94f5c31dd8fdd824549039b0 (diff)
downloadcpython-git-a4eb2d56a4cddd41fb649628107d51902b53f00a.tar.gz
Fix comment.
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r--Lib/codecs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index eb52ea2394..08cf50b31e 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -306,8 +306,8 @@ class StreamReader(Codec):
while True:
data = self.read(readsize)
if data:
- # If we're at a "\r" read one # extra character # (which might
- # be a "\n") to get a proper # line ending. If the stream is
+ # If we're at a "\r" read one extra character (which might
+ # be a "\n") to get a proper line ending. If the stream is
# temporarily exhausted we return the wrong line ending.
if data.endswith(u"\r"):
data += self.read(size=1, chars=1)