diff options
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): |