diff Lib/string.py @ 16532:7fc64df13db0 legacy-trunk

String method conversion.
author Eric S. Raymond <esr@thyrsus.com>
date Fri, 09 Feb 2001 16:56:44 +0000
parents 3685ef2a55a4
children f4e71bab7853
line wrap: on
line diff
--- a/Lib/string.py	Fri Feb 09 16:45:10 2001 +0000
+++ b/Lib/string.py	Fri Feb 09 16:56:44 2001 +0000
@@ -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):