Closed nsoranzo closed 10 months ago
not _AnyStr.
_AnyStr
>>> from lxml import etree >>> el = etree.Element("foo", {"t_key": "t_value", b"b_key": b"b_value"}) >>> el.attrib {'t_key': 't_value', 'b_key': 'b_value'} >>> type(el.attrib.values()[1]) <class 'str'>
Right, return values should be strict. Thanks.
not
_AnyStr
.