doc/hgmanpage.py
changeset 29216 ead25aa27a43
parent 29158 7c0297bfe8bf
child 29661 a181dbef8e7f
--- 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):