diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 16:56:44 (GMT) |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 16:56:44 (GMT) |
commit | e37340edf21f207659d1b2dcccf354c1bd46d4b0 (patch) | |
tree | 223df208b57ca8ff35227db5fde877327b6e0fa9 /Lib/stringold.py | |
parent | dcd3a875a57f5cc616e96f7c4848b3e32143b4d3 (diff) | |
download | cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.zip cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.gz cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.bz2 |
String method conversion.
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r-- | Lib/stringold.py | 2 |
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): |