summaryrefslogtreecommitdiff
path: root/Lib/codecs.py
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
commit0bebac011d643547dbdfd67bf2ec0e46fd165373 (patch)
tree7c416b3805610299c8e492794872ca80f39c29aa /Lib/codecs.py
parent6b7e560a75608d70070545bd0c70198ea9c7eef3 (diff)
downloadcpython-0bebac011d643547dbdfd67bf2ec0e46fd165373.tar.gz
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 9d29acc20c..932f01bec7 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