diff options
Diffstat (limited to 'Lib/stringold.py')
-rw-r--r-- | Lib/stringold.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/stringold.py b/Lib/stringold.py index c3e6f6f..dcc1143 100644 --- a/Lib/stringold.py +++ b/Lib/stringold.py @@ -395,7 +395,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=0): |