summaryrefslogtreecommitdiff
path: root/Lib/string.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 16:56:44 +0000
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 16:56:44 +0000
commit15f34db8a83d9532c9594f70330dcfb87a5c2228 (patch)
treea899a846f9643246b99997c9c4f802911627bea4 /Lib/string.py
parent7bd0779a7902d2886582af87b9b77ebe16319bc0 (diff)
downloadcpython-15f34db8a83d9532c9594f70330dcfb87a5c2228.tar.gz
String method conversion.
Diffstat (limited to 'Lib/string.py')
-rw-r--r--Lib/string.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/string.py b/Lib/string.py
index 61b253eee5..bdd9254966 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -356,7 +356,7 @@ def maketrans(fromstr, tostr):
fromstr = map(ord, fromstr)
for i in range(len(fromstr)):
L[fromstr[i]] = tostr[i]
- return joinfields(L, "")
+ return join(L, "")
# Substring replacement (global)
def replace(s, old, new, maxsplit=-1):