diff options
author | Georg Brandl <georg@python.org> | 2008-07-18 19:06:13 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-07-18 19:06:13 (GMT) |
commit | 74bbc79d10862727c9126f4f8d8868c021a389e4 (patch) | |
tree | b023834db1dfc875eb379a2f1d270a02988c856c /Lib/stringold.py | |
parent | e2886fd3ca357c4cf7c1584375d9b9bb55d476b7 (diff) | |
download | cpython-74bbc79d10862727c9126f4f8d8868c021a389e4.zip cpython-74bbc79d10862727c9126f4f8d8868c021a389e4.tar.gz cpython-74bbc79d10862727c9126f4f8d8868c021a389e4.tar.bz2 |
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 7cbd7aa..ebfe383 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)): |