/external/markdown/markdown/ |
D | html4.py | 183 default_namespace=None): argument 191 root, encoding, default_namespace 200 def _namespaces(elem, encoding, default_namespace=None): argument 208 if default_namespace: 209 namespaces[default_namespace] = "" 231 if default_namespace:
|
/external/python/cpython3/Lib/xml/etree/ |
D | ElementTree.py | 696 default_namespace=None, argument 746 qnames, namespaces = _namespaces(self._root, default_namespace) 810 def _namespaces(elem, default_namespace=None): argument 818 if default_namespace: 819 namespaces[default_namespace] = "" 838 if default_namespace: 1093 xml_declaration=None, default_namespace=None, argument 1111 default_namespace=default_namespace, 1134 xml_declaration=None, default_namespace=None, argument 1140 default_namespace=default_namespace,
|
D | ElementPath.py | 74 default_namespace = namespaces.get('') if namespaces else None 87 elif default_namespace and not parsing_attribute: 88 yield ttype, "{%s}%s" % (default_namespace, tag)
|
/external/python/cpython2/Lib/xml/etree/ |
D | ElementTree.py | 791 default_namespace=None, argument 817 self._root, encoding, default_namespace 831 def _namespaces(elem, encoding, default_namespace=None): argument 839 if default_namespace: 840 namespaces[default_namespace] = "" 862 if default_namespace:
|
/external/python/cpython3/Doc/library/ |
D | xml.etree.elementtree.rst | 682 xml_declaration=None, default_namespace=None, \ 690 *xml_declaration*, *default_namespace* and *short_empty_elements* has the same 698 The *xml_declaration* and *default_namespace* parameters. 706 xml_declaration=None, default_namespace=None, \ 714 *xml_declaration*, *default_namespace* and *short_empty_elements* has the same 725 The *xml_declaration* and *default_namespace* parameters. 1144 default_namespace=None, method="xml", *, \ 1153 *default_namespace* sets the default XML namespace (for "xmlns").
|
/external/python/cpython3/Lib/test/ |
D | test_xml_etree.py | 910 ET.tostring(elem, encoding='unicode', default_namespace='http://effbot.org/ns'), 917 ET.tostring(elem, encoding='unicode', default_namespace='foobar'), 925 ET.tostring(elem, encoding='unicode', default_namespace='foobar') 1001 … ''.join(ET.tostringlist(elem, encoding='unicode', default_namespace='http://effbot.org/ns')), 2075 self.assertEqual(serialize(e, default_namespace="default"), # 1 2081 self.assertEqual(serialize(e, default_namespace="default"), # 2 2091 serialize(e, default_namespace="default") # 3
|
/external/python/cpython2/Lib/test/ |
D | test_xml_etree.py | 1398 self.assertEqual(serialize(e, default_namespace="default"), # 1 1404 self.assertEqual(serialize(e, default_namespace="default"), # 2 1414 serialize(e, default_namespace="default") # 3
|
/external/python/cpython2/Doc/library/ |
D | xml.etree.elementtree.rst | 853 default_namespace=None, method="xml") 859 for only if not US-ASCII or UTF-8 (default is ``None``). *default_namespace*
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a4.rst | 612 Added support for keyword arguments `default_namespace` and
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.7.rst | 2042 by setting the :attr:`default_namespace` attribute and can
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.7.rst | 2018 by setting the :attr:`default_namespace` attribute and can
|