diff options
author | Tim Peters <tim.peters@gmail.com> | 2005-12-25 23:18:31 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2005-12-25 23:18:31 (GMT) |
commit | 536cf99536bce562cfcb44a856fac1c84b9de4c3 (patch) | |
tree | 80cf0f425cfc703b228aad716ed66cd4a5080c03 /Lib/codecs.py | |
parent | 83a8c393b06d24b3c6b252b7614c34110c369c43 (diff) | |
download | cpython-536cf99536bce562cfcb44a856fac1c84b9de4c3.zip cpython-536cf99536bce562cfcb44a856fac1c84b9de4c3.tar.gz cpython-536cf99536bce562cfcb44a856fac1c84b9de4c3.tar.bz2 |
Whitespace normalization.
Diffstat (limited to 'Lib/codecs.py')
-rw-r--r-- | Lib/codecs.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/codecs.py b/Lib/codecs.py index 9d29acc..932f01b 100644 --- a/Lib/codecs.py +++ b/Lib/codecs.py @@ -269,7 +269,7 @@ class StreamReader(Codec): 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? @@ -335,7 +335,7 @@ class StreamReader(Codec): if not keepends: line = line.splitlines(False)[0] return line - + readsize = size or 72 line = "" # If size is given, we call read() only once |