Mercurial > public > mercurial-scm > hg-stable
diff doc/hgmanpage.py @ 14764:a7d5816087a9 stable
classes: fix class style problems found by b071cd58af50
This makes test-wireprotocol.py work on Python 2.4
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Wed, 29 Jun 2011 15:00:00 +0200 |
parents | cdda48c93676 |
children | 462dd183bd73 |
line wrap: on
line diff
--- a/doc/hgmanpage.py Wed Jun 29 13:45:51 2011 +0200 +++ b/doc/hgmanpage.py Wed Jun 29 15:00:00 2011 +0200 @@ -104,7 +104,7 @@ self.output = visitor.astext() -class Table: +class Table(object): def __init__(self): self._rows = [] self._options = ['center'] @@ -300,7 +300,7 @@ pass def list_start(self, node): - class enum_char: + class enum_char(object): enum_style = { 'bullet' : '\\(bu', 'emdash' : '\\(em',