diff --git a/contrib/perf.py b/contrib/perf.py --- a/contrib/perf.py +++ b/contrib/perf.py @@ -408,7 +408,7 @@ count = 0 if profiler is None: profiler = NOOPCTX - for i in xrange(prerun): + for i in range(prerun): if setup is not None: setup() func()