commit | e37340edf21f207659d1b2dcccf354c1bd46d4b0 | [log] [tgz] |
---|---|---|
author | Eric S. Raymond <esr@thyrsus.com> | Fri Feb 09 16:56:44 2001 +0000 |
committer | Eric S. Raymond <esr@thyrsus.com> | Fri Feb 09 16:56:44 2001 +0000 |
tree | 223df208b57ca8ff35227db5fde877327b6e0fa9 | |
parent | dcd3a875a57f5cc616e96f7c4848b3e32143b4d3 [diff] [blame] |
String method conversion.
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 @@ 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):