Exemplo n.º 1
0
 def __init__(self, *args, **kwargs):
     html_builder = etree_builders.getETreeModule(html, fullTree=False)
     etree_builder = etree_builders.getETreeModule(etree, fullTree=False)
     self.elementClass = html_builder.Element
     self.commentClass = etree_builder.Comment
     _base.TreeBuilder.__init__(self, *args, **kwargs)
Exemplo n.º 2
0
 def __init__(self):
     html_builder = etree_builders.getETreeModule(html, fullTree=False)
     etree_builder = etree_builders.getETreeModule(etree, fullTree=False)
     self.elementClass = html_builder.Element
     self.commentClass = etree_builder.Comment
     _base.TreeBuilder.__init__(self)