def get_function_doc(function, config=default_config):
    """Return doc for a function."""
    if config.exclude_function:
        for ex in config.exclude_function:
            if ex.match(function.__name__):
                return None

    return _doc_object(function, 'function', config=config)
def get_function_doc ( function , config = default_config ) : if config . exclude_function : for ex in config . exclude_function : if ex . match ( function . __name__ ) : return None return _doc_object ( function , 'function' , config = config )
Return doc for a function.