Home
last modified time | relevance | path

Searched refs:_doctype (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython3/Lib/xml/etree/
DElementTree.py1487 self._doctype = None
1581 self._doctype = [] # inside a doctype declaration
1582 elif self._doctype is not None:
1585 self._doctype = None
1590 self._doctype.append(text)
1591 n = len(self._doctype)
1593 type = self._doctype[1]
1595 name, type, pubid, system = self._doctype
1599 name, type, system = self._doctype
1609 self._doctype = None
/external/python/cpython2/Lib/xml/etree/
DElementTree.py1512 self._doctype = None
1602 self._doctype = [] # inside a doctype declaration
1603 elif self._doctype is not None:
1606 self._doctype = None
1611 self._doctype.append(text)
1612 n = len(self._doctype)
1614 type = self._doctype[1]
1616 name, type, pubid, system = self._doctype
1618 name, type, system = self._doctype
1630 self._doctype = None
/external/python/cpython2/Lib/test/
Dtest_xml_etree.py2222 _doctype = None variable in TreeBuilderTest.test_doctype.DoctypeParser
2225 self._doctype = (name, pubid, system)
2230 return self._doctype
2312 _doctype = []
2315 _doctype.append((name, pubid, system))
2321 self.assertEqual(_doctype,
2325 _doctype = []
2338 self.assertEqual(_doctype, [])
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py2580 _doctype = None variable in TreeBuilderTest.test_doctype.DoctypeParser
2583 self._doctype = (name, pubid, system)
2586 return self._doctype
2671 _doctype = None
2674 nonlocal _doctype
2675 _doctype = (name, pubid, system)
2681 self.assertEqual(_doctype,
2685 _doctype = _doctype2 = None
2696 self.assertIsNone(_doctype)