summaryrefslogtreecommitdiffstats
path: root/Lib/codecs.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2005-04-04 21:42:22 (GMT)
committerWalter Dörwald <walter@livinglogic.de>2005-04-04 21:42:22 (GMT)
commit714f87821f0f5a84ca43ce640407c15f689fa47c (patch)
tree35f92d34c913fa3307348313ecad6e0b9fca82c7 /Lib/codecs.py
parent7a6dc139de385efaa70c43cc9a915239dbfeea1e (diff)
downloadcpython-714f87821f0f5a84ca43ce640407c15f689fa47c.zip
cpython-714f87821f0f5a84ca43ce640407c15f689fa47c.tar.gz
cpython-714f87821f0f5a84ca43ce640407c15f689fa47c.tar.bz2
Fix typos.
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 862f910..58bba73 100644
--- a/Lib/codecs.py
+++ b/Lib/codecs.py
@@ -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")