Home
last modified time | relevance | path

Searched refs:TreeBuilder (Results 1 – 11 of 11) sorted by relevance

/third_party/python/Lib/test/
Dtest_xml_etree.py517 target = ET.TreeBuilder()
2060 tree = ET.TreeBuilder()
2167 bob = ET.TreeBuilder()
2288 self.assertRaises(TypeError, ET.TreeBuilder().start, "tag")
2289 self.assertRaises(TypeError, ET.TreeBuilder().start, "tag", None)
2591 b = ET.TreeBuilder()
2610 b = ET.TreeBuilder()
2653 b = ET.TreeBuilder(element_factory=element_factory)
2665 b = ET.TreeBuilder(element_factory=element_factory)
2747 self.assertIsInstance(ET.TreeBuilder, type)
[all …]
/third_party/python/Lib/xml/etree/
DElementTree.py1289 self._parser = _parser or XMLParser(target=TreeBuilder())
1346 parser = XMLParser(target=TreeBuilder())
1362 parser = XMLParser(target=TreeBuilder())
1385 parser = XMLParser(target=TreeBuilder())
1393 class TreeBuilder: class
1537 target = TreeBuilder()
/third_party/python/Doc/library/
Dxml.etree.elementtree.rst125 custom :class:`TreeBuilder` instance to the :class:`XMLParser`
630 :class:`XMLParser` and can only use the default :class:`TreeBuilder` as a
1241 TreeBuilder Objects
1245 .. class:: TreeBuilder(element_factory=None, *, comment_factory=None, \
1304 In addition, a custom :class:`TreeBuilder` object can provide the
1311 does not exist on the default :class:`TreeBuilder` class.
1358 object. If *target* is omitted, the standard :class:`TreeBuilder` is used.
1381 methods, see the :class:`TreeBuilder` class. :meth:`XMLParser.close` calls
/third_party/python/Misc/NEWS.d/
D3.6.3rc1.rst280 looking up TreeBuilder target methods in XMLParser().
D3.9.0a5.rst806 :meth:`xml.etree.ElementTree.TreeBuilder.start` for consistency between
D3.8.0a4.rst319 The TreeBuilder and XMLPullParser in xml.etree.ElementTree gained support
D3.7.0a1.rst1569 looking up TreeBuilder target methods in XMLParser().
D3.8.0a1.rst2119 Fixed reference leaks in :class:`xml.etree.ElementTree.TreeBuilder` in case
/third_party/python/Doc/whatsnew/
D3.8.rst1436 :class:`xml.etree.ElementTree.TreeBuilder` target can be configured
1905 Define the :meth:`doctype() <xml.etree.ElementTree.TreeBuilder.doctype>`
D3.2.rst737 * :meth:`xml.etree.ElementTree.TreeBuilder.end` closes the current element
738 * :meth:`xml.etree.ElementTree.TreeBuilder.doctype` handles a doctype
/third_party/python/Misc/
DHISTORY5791 - Issue #16089: Allow ElementTree.TreeBuilder to work again with a non-Element
8145 - Issue #14007: Accept incomplete TreeBuilder objects (missing start, end,
8147 Drop the no-op TreeBuilder().xml() method from the C implementation.