diff Lib/stringold.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 5b727ab37092
children f4e71bab7853
line wrap: on
line diff
--- a/Lib/stringold.py	Fri Feb 09 16:45:10 2001 +0000
+++ b/Lib/stringold.py	Fri Feb 09 16:56:44 2001 +0000
@@ -395,7 +395,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=0):