Mercurial > cpython-lru_cache-weakref
diff Lib/codecs.py @ 37171:72a720dd64fb 2.4
Mechanical whitespace normalization.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Thu, 23 Mar 2006 19:07:46 +0000 |
| parents | fe0736ccba75 |
| children |
line wrap: on
line diff
--- a/Lib/codecs.py Thu Mar 23 02:50:34 2006 +0000 +++ b/Lib/codecs.py Thu Mar 23 19:07:46 2006 +0000 @@ -269,7 +269,7 @@ if self.linebuffer: self.charbuffer = "".join(self.linebuffer) self.linebuffer = None - + # read until we get the required number of characters (if available) while True: # can the request can be satisfied from the character buffer? @@ -338,7 +338,7 @@ if not keepends: line = line.splitlines(False)[0] return line - + readsize = size or 72 line = "" # If size is given, we call read() only once
