def format_directive(module, package=None):
    """Create the automodule directive and add the options."""
    directive = '.. automodule:: %s\n' % makename(package, module)
    for option in OPTIONS:
        directive += '    :%s:\n' + option
    return directive
dataset/ETHPy150Open Netflix/security_monkey/generate_docs.py/format_directive/operator `%` -> `+`