(self, child)
Equivalent to 'node.children.append(child)'. This method also sets the
        child's parent attribute appropriately.
Equivalent to 'node.children.append(child)'. This method also sets the
        child's parent attribute appropriately.
Equivalent to node . children . append ( child ) . This method also sets the child s parent attribute appropriately .
def append_child(self, child):
        """
        Equivalent to 'node.children.append(child)'. This method also sets the
        child's parent attribute appropriately.
        """
        child.parent = self
        self.children.append(child)
        self.changed()
def append_child ( self , child ) : child . parent = self self . children . append ( child ) self . changed ( )