diff options
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): |