Searched refs:fromstring (Results 1 – 19 of 19) sorted by relevance
64 def fromstring(self, string, defaults=None): member in CfgParserTestCaseClass333 cf = self.fromstring(config_string)468 cf = self.fromstring(475 cf = self.fromstring("[section]\n"509 cf = self.fromstring(516 cf = self.fromstring("[section]\n"595 cf = self.fromstring(672 cf = self.fromstring(config_string)705 cf = self.fromstring("[sect]\n"770 return self.fromstring([all …]
284 self.assertEqual(ET.XML, ET.fromstring)531 element = ET.fromstring("<html><body>text</body></html>")801 elem = ET.fromstring("<html><body>text</body></html>")1372 root = ET.fromstring(ATTLIST_XML)2277 root = ET.fromstring(raw)2514 e1 = dumper.fromstring(XMLTEXT)3216 a = ET.fromstring(xml)3225 a = ET.fromstring(xml)3476 doc = ET.fromstring(SAMPLE_XML_NS_ELEMS)3821 root = ET.fromstring('<tag>foo</tag>')[all …]
48 root = et.fromstring(xml)
82 registry = xml.etree.ElementTree.fromstring(xml_in.read())
28 html = ET.fromstring (input)
93 root = xml.etree.ElementTree.fromstring(result)
456 report_root = ET.fromstring(err.output.decode("utf-8"))
155 :meth:`fromstring` is renamed to :meth:`frombytes` for clarity.
88 root = ET.fromstring(country_data_as_string)90 :func:`fromstring` parses XML from a string directly into an :class:`Element`,336 root = fromstring(xml_text)392 root = ET.fromstring(countrydata)583 .. function:: fromstring(text, parser=None)
136 self.testsuite_xml.append(ET.fromstring(e))
329 :class:`array.array`: Remove ``tostring()`` and ``fromstring()`` methods.
1373 fromstring = XML variable
951 * :class:`array.array`: ``tostring()`` and ``fromstring()`` methods have been
2646 * The :meth:`array.tostring` and :meth:`array.fromstring` have been renamed to
3052 "src/bigint/fromstring.cc",
5478 "src/bigint/fromstring.cc",
12433 - Issue #8990: array.fromstring() and array.tostring() get renamed to