From 18fc5696c8be30b56485a20dc48f7f683b472f79 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 26 Nov 1992 09:17:19 +0000 Subject: * mainloop.py: added facility for calling select(). Also added embryonic facility for pseudo-modal dialogs. * stdwinevents.py: added modifier masks for key/mouse events * renamed exceptions in nntplib.py * Changed string.join() to call string.joinfields() to profit of strop.joinfields() --- Lib/stringold.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'Lib/stringold.py') diff --git a/Lib/stringold.py b/Lib/stringold.py index b4e0d5e766..aed3eafb54 100644 --- a/Lib/stringold.py +++ b/Lib/stringold.py @@ -82,10 +82,7 @@ def splitfields(s, sep): # Join words with spaces between them def join(words): - res = '' - for w in words: - res = res + (' ' + w) - return res[1:] + return joinfields(words, ' ') # Join fields with separator def joinfields(words, sep): -- cgit v1.2.1