diff options
author | Guido van Rossum <guido@python.org> | 1992-11-26 09:17:19 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1992-11-26 09:17:19 (GMT) |
commit | 18fc5696c8be30b56485a20dc48f7f683b472f79 (patch) | |
tree | 97da7e7f67ca99491939ab379614cd64a4f51505 /Lib/stringold.py | |
parent | c89705d6975ffb1e4a3764f4f36bab339f969e8f (diff) | |
download | cpython-18fc5696c8be30b56485a20dc48f7f683b472f79.zip cpython-18fc5696c8be30b56485a20dc48f7f683b472f79.tar.gz cpython-18fc5696c8be30b56485a20dc48f7f683b472f79.tar.bz2 |
* 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()
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r-- | Lib/stringold.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py index b4e0d5e..aed3eaf 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): |