changeset 49286:b2e05a8e15d1

py3: replace mention of “xrange” in docstring by “range”
author Manuel Jacob <me@manueljacob.de>
date Sun, 29 May 2022 15:33:39 +0200
parents 56f98406831b
children 7fe82a5101c9
files mercurial/smartset.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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.