(self, item)
Returns the given configuration item.

        @param item: the configuration key to retrieve.
        @return: the configuration value
Returns the given configuration item.
Returns the given configuration item .
def __getitem__(self, item):
        """Returns the given configuration item.

        @param item: the configuration key to retrieve.
        @return: the configuration value"""
        section, key = self._item_to_section_key(item)
        if key == "*":
            # Special case: retrieving all the keys within a section and
            # returning it in a dict
            keys = self._config.items(section)
            return dict((key, self._get(section, key)) for key, _ in keys)
        else:
            return self._get(section, key)
def __getitem__ ( self , item ) : section , key = self . _item_to_section_key ( item ) if key == "*" : # Special case: retrieving all the keys within a section and # returning it in a dict keys = self . _config . items ( section ) return dict ( ( key , self . _get ( section , key ) ) for key , _ in keys ) else : return self . _get ( section , key )