Get list of attribute names. Names are returned in an arbitrary order, just like an ordinary Python dict. Equivalent to attrib.keys()
(self)
| 355 | self.attrib[key] = value |
| 356 | |
| 357 | def keys(self): |
| 358 | """Get list of attribute names. |
| 359 | |
| 360 | Names are returned in an arbitrary order, just like an ordinary |
| 361 | Python dict. Equivalent to attrib.keys() |
| 362 | |
| 363 | """ |
| 364 | return self.attrib.keys() |
| 365 | |
| 366 | def items(self): |
| 367 | """Get element attributes as a sequence. |