Home
last modified time | relevance | path

Searched refs:ordered_attributes (Results 1 – 6 of 6) sorted by relevance

/third_party/python/Modules/
Dpyexpat.c71 int ordered_attributes; /* Return attributes as a list. */ member
366 if (self->ordered_attributes) in my_StartElementHandler()
389 if (self->ordered_attributes) { in my_StartElementHandler()
954 new_parser->ordered_attributes = self->ordered_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1145 self->ordered_attributes = 0; in newxmlparseobject()
1422 return PyBool_FromLong(self->ordered_attributes); in xmlparse_ordered_attributes_getter()
1435 self->ordered_attributes = b; in xmlparse_ordered_attributes_setter()
1482 XMLPARSE_GETTER_SETTER_DEF(ordered_attributes)
/third_party/python/Lib/test/
Dtest_pyexpat.py35 self.assertIs(self.parser.ordered_attributes, False)
37 self.parser.ordered_attributes = x
38 self.assertIs(self.parser.ordered_attributes, bool(x))
/third_party/python/Doc/library/
Dpyexpat.rst171 :attr:`ordered_attributes` and :attr:`specified_attributes` set to the values of
227 .. attribute:: xmlparser.ordered_attributes
354 :attr:`ordered_attributes` is true, this is a list (see
355 :attr:`ordered_attributes` for a full description). Otherwise it's a
/third_party/python/Lib/xml/etree/
DElementTree.py1562 parser.ordered_attributes = 1
1581 parser.ordered_attributes = 1
/third_party/python/Lib/xml/dom/
Dexpatbuilder.py161 self._parser.ordered_attributes = True
/third_party/python/Misc/
DHISTORY25198 only. Parser objects now provide the ordered_attributes and