aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2005-12-25 23:18:31 +0000
committerTim Peters <tim.peters@gmail.com>2005-12-25 23:18:31 +0000
commit536cf99536bce562cfcb44a856fac1c84b9de4c3 (patch)
tree80cf0f425cfc703b228aad716ed66cd4a5080c03 /Lib/codecs.py
parenttest_bug_1333982(): This one must fail under -O. (diff)
downloadcpython-536cf99536bce562cfcb44a856fac1c84b9de4c3.tar.gz
cpython-536cf99536bce562cfcb44a856fac1c84b9de4c3.tar.bz2
cpython-536cf99536bce562cfcb44a856fac1c84b9de4c3.zip
Whitespace normalization.
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 9d29acc20ca..932f01bec72 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