diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 09:21:01 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 09:21:01 (GMT) |
commit | 92852ad9a44183599a98c135e016e66660a91f13 (patch) | |
tree | d177ea01c11f881175133c63d71cfa311e19900e /Lib | |
parent | 66d9919cab903e152d206b7edb853799eca564d0 (diff) | |
download | cpython-92852ad9a44183599a98c135e016e66660a91f13.zip cpython-92852ad9a44183599a98c135e016e66660a91f13.tar.gz cpython-92852ad9a44183599a98c135e016e66660a91f13.tar.bz2 |
Oops...that will teach me to hit ^C^C too fast. Test passed.
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/regsub.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |