class Element:
Element
objects, and whose leaves are strings. Each node is marked by a tag
and zero or more attributes, attribs
. Each attribute is a mapping from a string key to a string value.Method | __init__ |
Undocumented |
Method | __repr__ |
Undocumented |
Method | __str__ |
No summary |
Instance Variable | attribs |
A dictionary mapping attribute names to attribute values for this element. |
Instance Variable | children |
A list of the children of this element. |
Instance Variable | tag |
A string tag indicating the type of this element. |
Undocumented
Parameters | |
tag:str | Undocumented |
*children:Union[ | Undocumented |
**attribs:Any | Undocumented |