(self, children=None, inline=None)
math([children]) -> MathML element

        children can be one child or a list of children.
math([children]) -> MathML element
math ( [ children ] ) - > MathML element
def __init__(self, children=None, inline=None):
        """math([children]) -> MathML element

        children can be one child or a list of children."""

        self.children = []
        if children is not None:
            if type(children) is list:
                for child in children:
                    self.append(child)
            else:
                # Only one child:
                self.append(children)

        if inline is not None:
            self.inline = inline
def __init__ ( self , children = None , inline = None ) : self . children = [ ] if children is not None : if type ( children ) is list : for child in children : self . append ( child ) else : # Only one child: self . append ( children ) if inline is not None : self . inline = inline