We assign xrange on Python 3 but not Python 2. Adding the missing
symbol on Python 2 allows us to use pycompat.xrange to get a
generator range function.
Details
Details
- Reviewers
durin42 - Group Reviewers
hg-reviewers - Commits
- rHG7eba8f83129b: pycompat: add xrange alias for Python 2
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.