From 521c83dd80afa929816ced389d4f92a97815b978 Mon Sep 17 00:00:00 2001 From: Fred Drake Date: Mon, 12 Mar 2001 02:56:15 +0000 Subject: [PATCH] Multifile.read(): Fix a broken conversion to string methods. This closes SF bug #407777. --- Lib/multifile.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/multifile.py b/Lib/multifile.py index 60a4303c14b..c3c468a0e67 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