commit | 74bbc79d10862727c9126f4f8d8868c021a389e4 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Fri Jul 18 19:06:13 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Fri Jul 18 19:06:13 2008 +0000 |
tree | b023834db1dfc875eb379a2f1d270a02988c856c | |
parent | e2886fd3ca357c4cf7c1584375d9b9bb55d476b7 [diff] [blame] |
Replace all map(None, a) with list(a).
diff --git a/Lib/string.py b/Lib/string.py index eb680c2..daf9863 100644 --- a/Lib/string.py +++ b/Lib/string.py
@@ -68,7 +68,7 @@ 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)):