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

index 862f9106deb24fc1ffe37833772931847d13c02b..58bba73ac0acc428c265aa287e0dbfefeea99c17 100644 (file)
@@ -312,9 +312,9 @@ class StreamReader(Codec):
                 self.atcr = data.endswith(u"\r")
                 # If we're at a "\r" (and are allowed to read more), read one
                 # extra character (which might be a "\n") to get a proper
-                # line ending (If the stream is temporarily exhausted we return
+                # line ending. (If the stream is temporarily exhausted we return
                 # the wrong line ending, but at least we won't generate a bogus
-                # second line.
+                # second line.)
                 if self.atcr and size is None:
                     data += self.read(size=1, chars=1)
                     self.atcr = data.endswith(u"\r")