Home
last modified time | relevance | path

Searched refs:insert_comments (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Modules/clinic/
D_elementtree.c.h587 int insert_comments, int insert_pis);
602 int insert_comments = 0; in _elementtree_TreeBuilder___init__() local
635 insert_comments = PyObject_IsTrue(fastargs[3]); in _elementtree_TreeBuilder___init__()
636 if (insert_comments < 0) { in _elementtree_TreeBuilder___init__()
648 …eeBuilderObject *)self, element_factory, comment_factory, pi_factory, insert_comments, insert_pis); in _elementtree_TreeBuilder___init__()
/third_party/python/Lib/xml/etree/
DElementTree.py1415 insert_comments=False, insert_pis=False): argument
1424 self.insert_comments = insert_comments
1492 self._comment_factory, self.insert_comments, text)
/third_party/python/Modules/
D_elementtree.c2353 char insert_comments; member
2391 t->insert_comments = t->insert_pis = 0; in treebuilder_new()
2413 int insert_comments, int insert_pis) in _elementtree_TreeBuilder___init___impl() argument
2430 self->insert_comments = insert_comments; in _elementtree_TreeBuilder___init___impl()
2433 self->insert_comments = 0; in _elementtree_TreeBuilder___init___impl()
2833 if (self->insert_comments && this != Py_None) { in treebuilder_handle_comment()
/third_party/python/Doc/library/
Dxml.etree.elementtree.rst1246 pi_factory=None, insert_comments=False, insert_pis=False)
1260 factories will be used. When *insert_comments* and/or *insert_pis* is true,
1290 Creates a comment with the given *text*. If ``insert_comments`` is true,
/third_party/python/Lib/test/
Dtest_xml_etree.py3241 parser = ET.XMLParser(target=ET.TreeBuilder(insert_comments=True))
3248 parser = ET.XMLParser(target=TreeBuilderSubclass(insert_comments=True))