From e37340edf21f207659d1b2dcccf354c1bd46d4b0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 9 Feb 2001 16:56:44 +0000 Subject: String method conversion. --- Lib/string.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/string.py') diff --git a/Lib/string.py b/Lib/string.py index 61b253eee5..bdd9254966 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): -- cgit v1.2.1