(self)
Discards cached collection and rebuilds it from the nodes
Discards cached collection and rebuilds it from the nodes
Discards cached collection and rebuilds it from the nodes
def rebuild(self):
        """
        Discards cached collection and rebuilds it from the nodes
        """
        del self.data[:]
        for node in self.node.children:
            if self.selector(node):
                self.data.append(self.item_class(node))
def rebuild ( self ) : del self . data [ : ] for node in self . node . children : if self . selector ( node ) : self . data . append ( self . item_class ( node ) )