summaryrefslogtreecommitdiff
path: root/Lib/codecs.py
diff options
context:
space:
mode:
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