From d1e45b1d11599db33a915fc9326285bfa896b2d7 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Thu, 11 Mar 2010 22:53:45 +0000 Subject: convert shebang lines: python -> python3 --- Lib/test/pystone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/pystone.py') diff --git a/Lib/test/pystone.py b/Lib/test/pystone.py index 614551ff64..aad4d8c8f3 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 -- cgit v1.2.1 From ff5f0b07184bda2494d0022a706c92e08ac96d3c Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sat, 4 Dec 2010 10:39:14 +0000 Subject: #1513299: cleanup some map() uses where a comprehension works better. --- Lib/test/pystone.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Lib/test/pystone.py') diff --git a/Lib/test/pystone.py b/Lib/test/pystone.py index aad4d8c8f3..d7f1ec9b6c 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 = list(map(lambda x: x[:], [Array1Glob]*51)) +Array2Glob = [x[:] for x in [Array1Glob]*51] PtrGlb = None PtrGlbNext = None -- cgit v1.2.1