summaryrefslogtreecommitdiffstats
path: root/Lib/stringold.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/stringold.py
parentdcd3a875a57f5cc616e96f7c4848b3e32143b4d3 (diff)
downloadcpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.zip
cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.gz
cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.bz2
String method conversion.
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r--Lib/stringold.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py
index c3e6f6f..dcc1143 100644
--- a/Lib/stringold.py
+++ b/Lib/stringold.py
@@ -395,7 +395,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=0):