Searched refs:pi_factory (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Modules/clinic/ |
D | _elementtree.c.h | 586 PyObject *pi_factory, 601 PyObject *pi_factory = Py_None; in _elementtree_TreeBuilder___init__() local 629 pi_factory = fastargs[2]; in _elementtree_TreeBuilder___init__() 648 …it___impl((TreeBuilderObject *)self, element_factory, comment_factory, pi_factory, insert_comments… in _elementtree_TreeBuilder___init__() 667 PyObject *pi_factory); 674 PyObject *pi_factory; in _elementtree__set_factories() local 680 pi_factory = args[1]; in _elementtree__set_factories() 681 return_value = _elementtree__set_factories_impl(module, comment_factory, pi_factory); in _elementtree__set_factories()
|
/third_party/python/Modules/ |
D | _elementtree.c | 96 PyObject *pi_factory; member 126 Py_CLEAR(st->pi_factory); in elementtree_clear() 138 Py_VISIT(st->pi_factory); in elementtree_traverse() 2342 PyObject *pi_factory; member 2377 t->pi_factory = NULL; in treebuilder_new() 2412 PyObject *pi_factory, in _elementtree_TreeBuilder___init___impl() argument 2436 if (pi_factory == Py_None) { in _elementtree_TreeBuilder___init___impl() 2438 pi_factory = st->pi_factory; in _elementtree_TreeBuilder___init___impl() 2440 if (pi_factory) { in _elementtree_TreeBuilder___init___impl() 2441 Py_INCREF(pi_factory); in _elementtree_TreeBuilder___init___impl() [all …]
|
/third_party/python/Lib/xml/etree/ |
D | ElementTree.py | 1414 comment_factory=None, pi_factory=None, argument 1425 if pi_factory is None: 1426 pi_factory = ProcessingInstruction 1427 self._pi_factory = pi_factory
|
/third_party/python/Lib/test/ |
D | test_xml_etree.py | 3200 b = ET.TreeBuilder(pi_factory=ET.PI) 3206 b = ET.TreeBuilder(pi_factory=lambda target, text: (len(target), text)) 3295 tb = MyTreeBuilder(comment_factory=ET.Comment, pi_factory=ET.PI)
|
/third_party/python/Doc/library/ |
D | xml.etree.elementtree.rst | 1246 pi_factory=None, insert_comments=False, insert_pis=False) 1257 The *comment_factory* and *pi_factory* functions, when given, should behave
|