diff options
author | R David Murray <rdmurray@bitdance.com> | 2011-03-16 18:27:34 -0400 |
---|---|---|
committer | R David Murray <rdmurray@bitdance.com> | 2011-03-16 18:27:34 -0400 |
commit | 676a72be33700a3df9f4930b7b080b800a93b011 (patch) | |
tree | eeb73490e177be33ff1741b4ae6afcad190ff8ad /Lib/test/pystone.py | |
parent | a6101cb3d1d6ebffa18cf7a784bdcaf98ee840d9 (diff) | |
parent | a8ebdf3fd2c681864e0b6b0c6c4364cf6242904d (diff) | |
download | cpython-676a72be33700a3df9f4930b7b080b800a93b011.tar.gz |
Merge #11401 fix from 3.1.
Diffstat (limited to 'Lib/test/pystone.py')
-rwxr-xr-x | Lib/test/pystone.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/pystone.py b/Lib/test/pystone.py index 614551ff64..d7f1ec9b6c 100755 --- a/Lib/test/pystone.py +++ b/Lib/test/pystone.py @@ -1,4 +1,4 @@ -#! /usr/bin/env python +#! /usr/bin/env python3 """ "PYSTONE" Benchmark Program @@ -72,7 +72,7 @@ BoolGlob = FALSE 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 |