def getAllChildren(self):
        """ Return the list of all children of this object """
        
        l = []
        for child in self._children:
            l.append(child)
            l.extend(child.getAllChildren())
            
        return l
 Return the list of all children of this object 
recipes/Python/498249_Composite_designpattern_using/recipe-498249.py