summaryrefslogtreecommitdiffstats
path: root/Lib/string.py
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2001-02-09 16:56:44 (GMT)
committerEric S. Raymond <esr@thyrsus.com>2001-02-09 16:56:44 (GMT)
commite37340edf21f207659d1b2dcccf354c1bd46d4b0 (patch)
tree223df208b57ca8ff35227db5fde877327b6e0fa9 /Lib/string.py
parentdcd3a875a57f5cc616e96f7c4848b3e32143b4d3 (diff)
downloadcpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.zip
cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.gz
cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.bz2
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 61b253e..bdd9254 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):