Mercurial > hg
diff mercurial/revsetlang.py @ 49284:d44e3c45f0e4
py3: replace `pycompat.xrange` by `range`
author | Manuel Jacob <me@manueljacob.de> |
---|---|
date | Sun, 29 May 2022 15:17:27 +0200 |
parents | f254fc73d956 |
children | 18c8c18993f0 |
line wrap: on
line diff
--- a/mercurial/revsetlang.py Sun May 29 12:38:54 2022 +0200 +++ b/mercurial/revsetlang.py Sun May 29 15:17:27 2022 +0200 @@ -75,7 +75,7 @@ + pycompat.sysbytes(string.digits) + b'._@' ) -) | set(map(pycompat.bytechr, pycompat.xrange(128, 256))) +) | set(map(pycompat.bytechr, range(128, 256))) # default set of valid characters for non-initial letters of symbols _symletters = _syminitletters | set(pycompat.iterbytestr(b'-/'))