Home
last modified time | relevance | path

Searched refs:short_empty_elements (Results 1 – 8 of 8) sorted by relevance

/third_party/python/Lib/xml/etree/
DElementTree.py698 short_empty_elements=True): argument
749 short_empty_elements=short_empty_elements)
872 short_empty_elements, **kwargs): argument
886 short_empty_elements=short_empty_elements)
908 if text or len(elem) or not short_empty_elements:
914 short_empty_elements=short_empty_elements)
1094 short_empty_elements=True): argument
1113 short_empty_elements=short_empty_elements)
1135 short_empty_elements=True): argument
1142 short_empty_elements=short_empty_elements)
/third_party/python/Doc/library/
Dxml.sax.utils.rst57 .. class:: XMLGenerator(out=None, encoding='iso-8859-1', short_empty_elements=False)
65 *short_empty_elements* controls the formatting of elements that contain no
70 The *short_empty_elements* parameter.
Dxml.etree.elementtree.rst701 short_empty_elements=True)
708 *xml_declaration*, *default_namespace* and *short_empty_elements* has the same
713 The *short_empty_elements* parameter.
725 short_empty_elements=True)
732 *xml_declaration*, *default_namespace* and *short_empty_elements* has the same
740 The *short_empty_elements* parameter.
1163 short_empty_elements=True)
1174 The keyword-only *short_empty_elements* parameter controls the formatting
1187 The *short_empty_elements* parameter.
/third_party/python/Lib/xml/sax/
Dsaxutils.py114 def __init__(self, out=None, encoding="iso-8859-1", short_empty_elements=False): argument
123 self._short_empty_elements = short_empty_elements
/third_party/python/Lib/test/
Dtest_sax.py448 gen = XMLGenerator(result, short_empty_elements=True)
470 gen = XMLGenerator(result, short_empty_elements=True)
570 gen = XMLGenerator(result, short_empty_elements=True)
618 gen = XMLGenerator(result, short_empty_elements=True)
647 gen = XMLGenerator(result, short_empty_elements=True)
671 gen = XMLGenerator(result, short_empty_elements=True)
698 gen = XMLGenerator(result, short_empty_elements=True)
Dtest_xml_etree.py3835 ET.tostring(root, 'unicode', short_empty_elements=True),
3838 ET.tostring(root, 'unicode', short_empty_elements=False),
/third_party/python/Doc/whatsnew/
D3.4.rst1776 *short_empty_elements* :ref:`keyword-only parameter <keyword-only_parameter>`
/third_party/python/Misc/
DHISTORY5788 a new parameter - *short_empty_elements*. It controls how elements with no
11741 short_empty_elements to direct it to use self-closing tags when appropriate.