diff options
author | Fred Drake <fdrake@acm.org> | 2001-03-12 02:56:15 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2001-03-12 02:56:15 (GMT) |
commit | 521c83dd80afa929816ced389d4f92a97815b978 (patch) | |
tree | 51bfd2b53f30847ddc3c67232e7d03489ba51981 | |
parent | b2336529ef548181d53af151cf3fc116274846d6 (diff) | |
download | cpython-521c83dd80afa929816ced389d4f92a97815b978.zip cpython-521c83dd80afa929816ced389d4f92a97815b978.tar.gz cpython-521c83dd80afa929816ced389d4f92a97815b978.tar.bz2 |
Multifile.read(): Fix a broken conversion to string methods.
This closes SF bug #407777.
-rw-r--r-- | Lib/multifile.py | 2 |
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 |