Commit 92852ad9 authored by Eric S. Raymond's avatar Eric S. Raymond

Oops...that will teach me to hit ^C^C too fast. Test passed.

parent 66d9919c
...@@ -110,7 +110,7 @@ def capwords(str, pat='[^a-zA-Z0-9_]+'): ...@@ -110,7 +110,7 @@ def capwords(str, pat='[^a-zA-Z0-9_]+'):
words = splitx(str, pat) words = splitx(str, pat)
for i in range(0, len(words), 2): for i in range(0, len(words), 2):
words[i] = words[i].capitalize() words[i] = words[i].capitalize()
return "".joinfields(words) return "".join(words)
# Internal subroutines: # Internal subroutines:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment