parameters: (module, target=None, alias=None)
docstring: Inspect a module object and yielding results from `inspect_function()`
      for each function object in the module.
docstring_summary: Inspect a module object and yielding results from `inspect_function()`
      for each function object in the module.
docstring_tokens: Inspect a module object and yielding results from inspect_function () for each function object in the module .
function: def inspect_module(module, target=None, alias=None):
      """Inspect a module object and yielding results from `inspect_function()`
      for each function object in the module.
      """
      alias = {} if alias is None else alias
      # Walk the module
      for name in dir(module):
          if name.startswith('_'):
              # Skip
              continue
          obj = getattr(module, name)
          supported_types = (pytypes.FunctionType, pytypes.BuiltinFunctionType)
  
          if not isinstance(obj, supported_types):
              # Skip if it's not a function
              continue
  
          info = dict(module=module, name=name, obj=obj)
          if obj in alias:
              info['alias'] = alias[obj]
          else:
              alias[obj] = "{module}.{name}".format(module=module.__name__,
                                                    name=name)
          info.update(inspect_function(obj, target=target))
          yield info
function_tokens: def inspect_module ( module , target = None , alias = None ) : alias = { } if alias is None else alias # Walk the module for name in dir ( module ) : if name . startswith ( '_' ) : # Skip continue obj = getattr ( module , name ) supported_types = ( pytypes . FunctionType , pytypes . BuiltinFunctionType ) if not isinstance ( obj , supported_types ) : # Skip if it's not a function continue info = dict ( module = module , name = name , obj = obj ) if obj in alias : info [ 'alias' ] = alias [ obj ] else : alias [ obj ] = "{module}.{name}" . format ( module = module . __name__ , name = name ) info . update ( inspect_function ( obj , target = target ) ) yield info