Lines Matching refs:set
354 def set(self, key, value):
358 this a bit more efficiently. *key* is what attribute to set, and
359 *value* is the attribute value to set it to.
391 elements may or may not be included. To get a stable set, use the
1297 # iterparse needs this to set its root attribute properly :(
1639 # is set, the attributes are reported as a list of alternating
1779 - *with_comments*: set to true to include comments
1780 - *strip_text*: set to true to strip whitespace before and after text content
1781 - *rewrite_prefixes*: set to true to replace namespace prefixes by "n{number}"
1782 - *qname_aware_tags*: a set of qname aware tag names in which prefixes
1784 - *qname_aware_attrs*: a set of qname aware attribute names in which prefixes
1786 - *exclude_attrs*: a set of attribute names that should not be serialised
1787 - *exclude_tags*: a set of tag names that should not be serialised
1797 self._exclude_attrs = set(exclude_attrs) if exclude_attrs else None
1798 self._exclude_tags = set(exclude_tags) if exclude_tags else None
1802 self._qname_aware_tags = set(qname_aware_tags)
1806 self._find_qname_aware_attrs = set(qname_aware_attrs).intersection
1844 prefixes_seen = set()