Esempio n. 1
0
  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
Esempio n. 2
0
    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
Esempio n. 3
0
File: conf.py Progetto: i386x/doit
 def __init__(self, *args, **kwargs):
     SmartyPantsHTMLTranslator.__init__(self, *args, **kwargs)
Esempio n. 4
0
 def __init__(self, *args, **kwds):
     SmartyPantsHTMLTranslator.__init__(self, *args, **kwds)  # old style class...
     # set custom attributes:
     self._visiting_author_field__ = False