def getIndex(self, child):
        """ Return the index of the child ConfigInfo object 'child' """
        
        if child in self._children:
            return self._children.index(child)
        else:
            return -1
 Return the index of the child ConfigInfo object 'child' 
recipes/Python/498249_Composite_designpattern_using/recipe-498249.py