def add(self, label):
        """
        Add a label to the end of the list.

        Args:
            label (Label): The label to add.
        """
        label.label_list = self
        self.label_tree.addi(label.start, label.end, label)
def add ( self , label ) : label . label_list = self self . label_tree . addi ( label . start , label . end , label )
Add a label to the end of the list.

        Args:
            label (Label): The label to add.