Home
last modified time | relevance | path

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

/third_party/python/Modules/clinic/
D_elementtree.c.h587 int insert_comments, int insert_pis);
603 int insert_pis = 0; in _elementtree_TreeBuilder___init__() local
643 insert_pis = PyObject_IsTrue(fastargs[4]); in _elementtree_TreeBuilder___init__()
644 if (insert_pis < 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
1428 self.insert_pis = insert_pis
1501 self._pi_factory, self.insert_pis, target, text)
/third_party/python/Modules/
D_elementtree.c2354 char insert_pis; 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
2443 self->insert_pis = insert_pis; in _elementtree_TreeBuilder___init___impl()
2446 self->insert_pis = 0; in _elementtree_TreeBuilder___init___impl()
2874 if (self->insert_pis && this != Py_None) { in treebuilder_handle_pi()
3571 if ((target->events_append && target->pi_event_obj) || target->insert_pis) { in expat_pi_handler()
/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,
1299 ``insert_pis`` is true, this will also add it to the tree.
/third_party/python/Lib/test/
Dtest_xml_etree.py3256 parser = ET.XMLParser(target=ET.TreeBuilder(insert_pis=True))
3263 parser = ET.XMLParser(target=TreeBuilderSubclass(insert_pis=True))