def _function_header(subpackage, func):
    """Generate the docstring of a function."""
    args = inspect.formatargspec(*inspect.getfullargspec(func))
    return "{name}{args}".format(name=_full_name(subpackage, func),
                                   args=args,
                                   )
def _function_header ( subpackage , func ) : args = inspect . formatargspec ( * inspect . getfullargspec ( func ) ) return "{name}{args}" . format ( name = _full_name ( subpackage , func ) , args = args , )
Generate the docstring of a function.