diff options
Diffstat (limited to 'Lib/string.py')
-rw-r--r-- | Lib/string.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/string.py b/Lib/string.py index b4e0d5e..aed3eaf 100644 --- a/Lib/string.py +++ b/Lib/string.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): |