summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-04-21 21:42:35 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2005-04-21 21:42:35 (GMT)
commita4eb2d56a4cddd41fb649628107d51902b53f00a (patch)
treed4fe100aa951baf1e07cc1b1359bffaccfcec9a9
parentbc8e642c1bfbef3b94f5c31dd8fdd824549039b0 (diff)
downloadcpython-a4eb2d56a4cddd41fb649628107d51902b53f00a.zip
cpython-a4eb2d56a4cddd41fb649628107d51902b53f00a.tar.gz
cpython-a4eb2d56a4cddd41fb649628107d51902b53f00a.tar.bz2
Fix comment.
-rw-r--r--Lib/codecs.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py
index eb52ea2..08cf50b 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)