Oops...that will teach me to hit ^C^C too fast. Test passed.
This commit is contained in:
parent
66d9919cab
commit
92852ad9a4
|
@ -110,7 +110,7 @@ def capwords(str, pat='[^a-zA-Z0-9_]+'):
|
|||
words = splitx(str, pat)
|
||||
for i in range(0, len(words), 2):
|
||||
words[i] = words[i].capitalize()
|
||||
return "".joinfields(words)
|
||||
return "".join(words)
|
||||
|
||||
|
||||
# Internal subroutines:
|
||||
|
|
Loading…
Reference in New Issue