commit | cbd2ab1311120efa37e6dd8008a234235bf97b62 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sat Dec 04 10:39:14 2010 +0000 |
committer | Georg Brandl <georg@python.org> | Sat Dec 04 10:39:14 2010 +0000 |
tree | aa1fbd5bf7fc5d236956c4b73cbbd407b9612349 | |
parent | 8334fd9285a8e9f0864b0453ae738fe3f6893b21 [diff] [blame] |
#1513299: cleanup some map() uses where a comprehension works better.
diff --git a/Lib/test/pystone.py b/Lib/test/pystone.py index aad4d8c..d7f1ec9 100755 --- a/Lib/test/pystone.py +++ b/Lib/test/pystone.py
@@ -72,7 +72,7 @@ Char1Glob = '\0' Char2Glob = '\0' Array1Glob = [0]*51 -Array2Glob = list(map(lambda x: x[:], [Array1Glob]*51)) +Array2Glob = [x[:] for x in [Array1Glob]*51] PtrGlb = None PtrGlbNext = None