Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dpyexpat.c60 int ordered_attributes; /* Return attributes as a list. */ member
357 if (self->ordered_attributes) in my_StartElementHandler()
380 if (self->ordered_attributes) { in my_StartElementHandler()
932 new_parser->ordered_attributes = self->ordered_attributes; in pyexpat_xmlparser_ExternalEntityParserCreate_impl()
1119 self->ordered_attributes = 0; in newxmlparseobject()
1380 return PyBool_FromLong(self->ordered_attributes); in xmlparse_ordered_attributes_getter()
1393 self->ordered_attributes = b; in xmlparse_ordered_attributes_setter()
1440 XMLPARSE_GETTER_SETTER_DEF(ordered_attributes)
/external/python/cpython2/Modules/
Dpyexpat.c72 int ordered_attributes; /* Return attributes as a list. */ member
519 if (self->ordered_attributes) in my_StartElementHandler()
542 if (self->ordered_attributes) { in my_StartElementHandler()
1099 new_parser->ordered_attributes = self->ordered_attributes; in xmlparse_ExternalEntityParserCreate()
1304 self->ordered_attributes = 0; in newxmlparseobject()
1458 return get_pybool(self->ordered_attributes); in xmlparse_getattr()
1593 self->ordered_attributes = b; in xmlparse_setattr()
/external/python/cpython2/Lib/test/
Dtest_pyexpat.py36 self.assertIs(self.parser.ordered_attributes, False)
38 self.parser.ordered_attributes = x
39 self.assertIs(self.parser.ordered_attributes, bool(x))
/external/python/cpython3/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))
/external/python/cpython3/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
/external/python/cpython2/Lib/xml/etree/
DElementTree.py1228 parser.ordered_attributes = 1
1507 self._parser.ordered_attributes = 1
/external/python/cpython3/Lib/xml/etree/
DElementTree.py1562 parser.ordered_attributes = 1
1582 parser.ordered_attributes = 1
/external/python/cpython2/Doc/library/
Dpyexpat.rst173 :attr:`ordered_attributes`, :attr:`returns_unicode` and
239 .. attribute:: xmlparser.ordered_attributes
/external/python/cpython3/Lib/xml/dom/
Dexpatbuilder.py161 self._parser.ordered_attributes = True
/external/python/cpython2/Lib/xml/dom/
Dexpatbuilder.py161 self._parser.ordered_attributes = True
/external/python/cpython2/Misc/
DHISTORY7819 only. Parser objects now provide the ordered_attributes and
/external/python/cpython3/Misc/
DHISTORY25198 only. Parser objects now provide the ordered_attributes and