(self)
return child
delete_child() -> child

        Delete last child and return it.
delete_child() -> child
delete_child () - > child
def delete_child(self):
        """delete_child() -> child

        Delete last child and return it."""

        child = self.children[-1]
        del self.children[-1]
        return child
def delete_child ( self ) : child = self . children [ - 1 ] del self . children [ - 1 ] return child