diff options
author | Georg Brandl <georg@python.org> | 2008-05-16 17:02:34 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-05-16 17:02:34 (GMT) |
commit | bf82e374ee737992235cbe944c9ddbd58236a892 (patch) | |
tree | f8c8dccaa76d58f9cb7d8cc0abb1355be75ee369 /Tools/pybench/Lists.py | |
parent | acbca71ea775fc488bead0876d0cdbd48670dcbc (diff) | |
download | cpython-bf82e374ee737992235cbe944c9ddbd58236a892.zip cpython-bf82e374ee737992235cbe944c9ddbd58236a892.tar.gz cpython-bf82e374ee737992235cbe944c9ddbd58236a892.tar.bz2 |
More 2to3 fixes in the Tools directory. Fixes #2893.
Diffstat (limited to 'Tools/pybench/Lists.py')
-rw-r--r-- | Tools/pybench/Lists.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Tools/pybench/Lists.py b/Tools/pybench/Lists.py index 9aeb408..c39687e 100644 --- a/Tools/pybench/Lists.py +++ b/Tools/pybench/Lists.py @@ -157,8 +157,8 @@ class ListSlicing(Test): def calibrate(self): - n = range(100) - r = range(25) + n = list(range(100)) + r = list(range(25)) for i in range(self.rounds): for j in r: |