py3: replace mention of “xrange” in docstring by “range”
authorManuel Jacob <me@manueljacob.de>
Sun, 29 May 2022 15:33:39 +0200
changeset 49286 b2e05a8e15d1
parent 49285 56f98406831b
child 49287 7fe82a5101c9
py3: replace mention of “xrange” in docstring by “range”
mercurial/smartset.py
--- a/mercurial/smartset.py	Sun May 29 15:32:43 2022 +0200
+++ b/mercurial/smartset.py	Sun May 29 15:33:39 2022 +0200
@@ -992,7 +992,7 @@
     """Duck type for baseset class which represents a range of revisions and
     can work lazily and without having all the range in memory
 
-    Note that spanset(x, y) behave almost like xrange(x, y) except for two
+    Note that spanset(x, y) behave almost like range(x, y) except for two
     notable points:
     - when x < y it will be automatically descending,
     - revision filtered with this repoview will be skipped.