From 92852ad9a44183599a98c135e016e66660a91f13 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 09:21:01 +0000 Subject: Oops...that will teach me to hit ^C^C too fast. Test passed. --- Lib/regsub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/regsub.py b/Lib/regsub.py index 7778602..de833d5 100644 --- a/Lib/regsub.py +++ b/Lib/regsub.py @@ -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: -- cgit v0.12