diff options
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r-- | Lib/stringold.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py index fd8363b0ec..687518d30e 100644 --- a/Lib/stringold.py +++ b/Lib/stringold.py @@ -288,7 +288,7 @@ def capitalize(s): # Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def". # See also regsub.capwords(). def capwords(s, sep=None): - return join(map(capitalize, split(s, sep))) + return join(map(capitalize, split(s, sep)), sep or ' ') # Construct a translation string _idmapL = None |