parameters: (module, package=None)
return_statement: return directive
docstring: Create the automodule directive and add the options.
docstring_summary: Create the automodule directive and add the options.
docstring_tokens: Create the automodule directive and add the options .
function: 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
function_tokens: def format_directive ( module , package = None ) : directive = '.. automodule:: %s\n' % makename ( package , module ) for option in OPTIONS : directive += '    :%s:\n' % option return directive