From: Eric S. Raymond Date: Fri, 9 Feb 2001 09:21:01 +0000 (+0000) Subject: Oops...that will teach me to hit ^C^C too fast. Test passed. X-Git-Tag: v2.1b1~469 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=92852ad9a44183599a98c135e016e66660a91f13;p=python Oops...that will teach me to hit ^C^C too fast. Test passed. --- diff --git a/Lib/regsub.py b/Lib/regsub.py index 7778602c2d..de833d5107 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: