diff options
author | Georg Brandl <georg@python.org> | 2008-07-18 19:06:13 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-18 19:06:13 +0000 |
commit | 42f84ca601f41f900aa20b910b0dc7929325f280 (patch) | |
tree | 2fd6a0e6c26312bf7461318f13267a649467de46 /Lib/stringold.py | |
parent | da3772cb06821269ed367f1e5c5e32e60574bc65 (diff) | |
download | cpython-42f84ca601f41f900aa20b910b0dc7929325f280.tar.gz |
Replace all map(None, a) with list(a).
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 7cbd7aaf6b..ebfe38313a 100644 --- a/Lib/stringold.py +++ b/Lib/stringold.py @@ -391,7 +391,7 @@ def maketrans(fromstr, tostr): raise ValueError, "maketrans arguments must have same length" global _idmapL if not _idmapL: - _idmapL = map(None, _idmap) + _idmapL = list(_idmap) L = _idmapL[:] fromstr = map(ord, fromstr) for i in range(len(fromstr)): |