[Python-checkins] python/dist/src/Lib codecs.py,1.42,1.43
doerwalter at users.sourceforge.net
doerwalter at users.sourceforge.net
Mon Apr 4 23:42:24 CEST 2005
Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11276/Lib
Modified Files:
codecs.py
Log Message:
Fix typos.
Index: codecs.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/codecs.py,v
retrieving revision 1.42
retrieving revision 1.43
diff -u -d -r1.42 -r1.43
--- codecs.py 4 Apr 2005 21:38:46 -0000 1.42
+++ codecs.py 4 Apr 2005 21:42:22 -0000 1.43
@@ -312,9 +312,9 @@
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")
More information about the Python-checkins
mailing list