class documentation

Group sub-expressions as a horizontal row.

Method close Close element and return first non-full parent or None.

Inherited from math:

Method __getitem__ Undocumented
Method __init__ Set up node with `children` and `attributes`.
Method __len__ Undocumented
Method __repr__ Undocumented
Method __setitem__ Undocumented
Method append Append child and return self or first non-full parent.
Method extend Undocumented
Method full Return boolean indicating whether children may be appended.
Method get Undocumented
Method toprettyxml Return XML representation of self as string.
Method xml_starttag Undocumented
Class Variable html_tagname Tag name for HTML representation.
Class Variable nchildren Expected number of children or None
Class Variable parent Parent node in MathML DOM tree.
Class Variable xml_entities Undocumented
Instance Variable attributes Undocumented
Instance Variable children Undocumented
Method _xml Undocumented
Method _xml_body Undocumented
Class Variable _boolstrings String representation of boolean MathML attribute values.
Class Variable _level Undocumented
def close(self): (source)

Close element and return first non-full parent or None. Remove <mrow>, if it is single child and the parent infers an mrow or if it has only one child element.