def getChild(self, name):
        """ Return the immediate child object with the given name """
        
        for child in self._children:
            if child.getName() == name:
                return child
 Return the immediate child object with the given name 
recipes/Python/498249_Composite_designpattern_using/recipe-498249.py