def __setattr__(self, attr, value):
        '''
        Sets a configuration parameter.
        '''
        if attr == 'config':
            super(Config, self).__setattr__(attr, value)
        else:
            self.config[attr] = value
def __setattr__ ( self , attr , value ) : if attr == 'config' : super ( Config , self ) . __setattr__ ( attr , value ) else : self . config [ attr ] = value
Sets a configuration parameter.