From: Walter Dörwald <walter@livinglogic.de> Date: Thu, 21 Apr 2005 21:42:35 +0000 (+0000) Subject: Fix comment. X-Git-Tag: v2.5a0~1805 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a4eb2d56a4cddd41fb649628107d51902b53f00a;p=python Fix comment. --- 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)