Mercurial > hg
changeset 42059:51df72655b1a
hgmanpage: use range instead of xrange
author | Philippe Pepiot <philippe.pepiot@logilab.fr> |
---|---|
date | Thu, 04 Apr 2019 19:08:05 +0200 |
parents | ec7b478f1bf8 |
children | 93a1a4fef532 |
files | doc/hgmanpage.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/hgmanpage.py Thu Apr 04 19:06:48 2019 +0200 +++ b/doc/hgmanpage.py Thu Apr 04 19:08:05 2019 +0200 @@ -263,7 +263,7 @@ # ensure we get a ".TH" as viewers require it. self.head.append(self.header()) # filter body - for i in xrange(len(self.body) - 1, 0, -1): + for i in range(len(self.body) - 1, 0, -1): # remove superfluous vertical gaps. if self.body[i] == '.sp\n': if self.body[i - 1][:4] in ('.BI ','.IP '):