diff options
| author | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 16:56:44 +0000 |
|---|---|---|
| committer | Eric S. Raymond <esr@thyrsus.com> | 2001-02-09 16:56:44 +0000 |
| commit | 15f34db8a83d9532c9594f70330dcfb87a5c2228 (patch) | |
| tree | a899a846f9643246b99997c9c4f802911627bea4 /Lib/string.py | |
| parent | 7bd0779a7902d2886582af87b9b77ebe16319bc0 (diff) | |
| download | cpython-15f34db8a83d9532c9594f70330dcfb87a5c2228.tar.gz | |
String method conversion.
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 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): |
