summaryrefslogtreecommitdiffstats
path: root/Lib/multifile.py
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2001-03-12 02:56:15 (GMT)
committerFred Drake <fdrake@acm.org>2001-03-12 02:56:15 (GMT)
commit521c83dd80afa929816ced389d4f92a97815b978 (patch)
tree51bfd2b53f30847ddc3c67232e7d03489ba51981 /Lib/multifile.py
parentb2336529ef548181d53af151cf3fc116274846d6 (diff)
downloadcpython-521c83dd80afa929816ced389d4f92a97815b978.zip
cpython-521c83dd80afa929816ced389d4f92a97815b978.tar.gz
cpython-521c83dd80afa929816ced389d4f92a97815b978.tar.bz2
Multifile.read(): Fix a broken conversion to string methods.
This closes SF bug #407777.
Diffstat (limited to 'Lib/multifile.py')
-rw-r--r--Lib/multifile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/multifile.py b/Lib/multifile.py
index 60a4303..c3c468a 100644
--- a/Lib/multifile.py
+++ b/Lib/multifile.py
@@ -117,7 +117,7 @@ class MultiFile:
return list
def read(self): # Note: no size argument -- read until EOF only!
- return self.readlines().join('')
+ return ''.join(self.readlines())
def next(self):
while self.readline(): pass