]> granicus.if.org Git - python/commitdiff
Fix comment.
authorWalter Dörwald <walter@livinglogic.de>
Thu, 21 Apr 2005 21:42:35 +0000 (21:42 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Thu, 21 Apr 2005 21:42:35 +0000 (21:42 +0000)
Lib/codecs.py

index eb52ea23941cfec6246170a90a1ea707776d4fe1..08cf50b31e8d3762a4a82ce9bb8482656281cfef 100644 (file)
@@ -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)