D6443: py3: use range() instead of xrange()

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri May 24 23:21:17 EDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGc2d10506725c: py3: use range() instead of xrange() (authored by pulkit, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6443?vs=15250&id=15257

REVISION DETAIL
  https://phab.mercurial-scm.org/D6443

AFFECTED FILES
  contrib/perf.py

CHANGE DETAILS

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()



To: pulkit, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list