diff options
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 |