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/string.py | |
parent | dcd3a875a57f5cc616e96f7c4848b3e32143b4d3 (diff) | |
download | cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.zip cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.gz cpython-e37340edf21f207659d1b2dcccf354c1bd46d4b0.tar.bz2 |
String method conversion.
Diffstat (limited to 'Lib/string.py')
-rw-r--r-- | Lib/string.py | 2 |
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): |