summaryrefslogtreecommitdiffstats
path: root/Lib/regsub.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 09:21:01 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 09:21:01 (GMT)
commit92852ad9a44183599a98c135e016e66660a91f13 (patch)
treed177ea01c11f881175133c63d71cfa311e19900e /Lib/regsub.py
parent66d9919cab903e152d206b7edb853799eca564d0 (diff)
downloadcpython-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/regsub.py')
-rw-r--r--Lib/regsub.py2
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: