diff -r f5983805574e -r ead25aa27a43 doc/hgmanpage.py --- a/doc/hgmanpage.py Mon May 16 21:30:32 2016 +0000 +++ b/doc/hgmanpage.py Mon May 16 21:30:53 2016 +0000 @@ -793,7 +793,7 @@ def visit_list_item(self, node): # man 7 man argues to use ".IP" instead of ".TP" self.body.append('.IP %s %d\n' % ( - self._list_char[-1].next(), + next(self._list_char[-1]), self._list_char[-1].get_width(),)) def depart_list_item(self, node):