def __setChildDict(self, child):
        """ Private method to set the dictionary of the child
        object 'child' in the internal dictionary """
        
        d = self[self._name]
        d[child.getName()] = child.getDict()
 Private method to set the dictionary of the child
        object 'child' in the internal dictionary 
recipes/Python/498249_Composite_designpattern_using/recipe-498249.py