def __init__(self, builder, *args, **kwds): # HTMLTranslator is an old-style Python class, so 'super' doesn't work: use # direct parent invocation. HTMLTranslator.__init__(self, builder, *args, **kwds) self.within_ignored_h1 = False self.within_toc = False
def __init__(self, builder, *args, **kwds): # HTMLTranslator is an old-style Python class, so 'super' doesn't work: use # direct parent invocation. HTMLTranslator.__init__(self, builder, *args, **kwds) self.within_ignored_h1 = False self.within_toc = False
def __init__(self, *args, **kwargs): SmartyPantsHTMLTranslator.__init__(self, *args, **kwargs)
def __init__(self, *args, **kwds): SmartyPantsHTMLTranslator.__init__(self, *args, **kwds) # old style class... # set custom attributes: self._visiting_author_field__ = False