summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-08-12 07:02:50 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-08-12 07:02:50 (GMT)
commit9b2a26989daade1c431e79ac89880ca84726c18b (patch)
tree1cd2d0c3163fb60b86d4273d9ae1b3dabb84bf85 /Lib
parentaea70e03c40eeb80657c36275dcd843356b0b7fa (diff)
downloadcpython-9b2a26989daade1c431e79ac89880ca84726c18b.zip
cpython-9b2a26989daade1c431e79ac89880ca84726c18b.tar.gz
cpython-9b2a26989daade1c431e79ac89880ca84726c18b.tar.bz2
Get pystone working with lazy map.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/test/pystone.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/pystone.py b/Lib/test/pystone.py
index 3ddb946..bbf43cc 100755
--- a/Lib/test/pystone.py
+++ b/Lib/test/pystone.py
@@ -72,7 +72,7 @@ BoolGlob = FALSE
Char1Glob = '\0'
Char2Glob = '\0'
Array1Glob = [0]*51
-Array2Glob = map(lambda x: x[:], [Array1Glob]*51)
+Array2Glob = list(map(lambda x: x[:], [Array1Glob]*51))
PtrGlb = None
PtrGlbNext = None