aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/pybench/Imports.py')
-rw-r--r--Tools/pybench/Imports.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Tools/pybench/Imports.py b/Tools/pybench/Imports.py
index afc728b94ff..399ba17f2a9 100644
--- a/Tools/pybench/Imports.py
+++ b/Tools/pybench/Imports.py
@@ -12,7 +12,7 @@ class SecondImport(Test):
def test(self):
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
import os
import os
import os
@@ -45,7 +45,7 @@ class SecondImport(Test):
def calibrate(self):
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
pass
@@ -57,7 +57,7 @@ class SecondPackageImport(Test):
def test(self):
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
import package
import package
import package
@@ -90,7 +90,7 @@ class SecondPackageImport(Test):
def calibrate(self):
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
pass
class SecondSubmoduleImport(Test):
@@ -101,7 +101,7 @@ class SecondSubmoduleImport(Test):
def test(self):
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
import package.submodule
import package.submodule
import package.submodule
@@ -134,5 +134,5 @@ class SecondSubmoduleImport(Test):
def calibrate(self):
- for i in xrange(self.rounds):
+ for i in range(self.rounds):
pass