original_docstring: 
      Takes a pkg_resources distribution and loads the module contained
      in it, if it matches the rules layed out in :func:`morepath.autoscan`.
      
docstring: Takes a pkg_resources distribution and loads the module contained
  in it, if it matches the rules layed out in :func:`morepath.autoscan`.
docstring_tokens: Takes a pkg_resources distribution and loads the module contained in it if it matches the rules layed out in : func : ` morepath . autoscan ` .
code: def import_package(distribution):
      """
      Takes a pkg_resources distribution and loads the module contained
      in it, if it matches the rules layed out in :func:`morepath.autoscan`.
      """
      try:
          return importlib.import_module(get_module_name(distribution))
      except ImportError:
          raise AutoImportError(distribution.project_name)
code_tokens: def import_package ( distribution ) : try : return importlib . import_module ( get_module_name ( distribution ) ) except ImportError : raise AutoImportError ( distribution . project_name )
short_docstring: Takes a pkg_resources distribution and loads the module contained
  in it, if it matches the rules layed out in :func:`morepath.autoscan`.
short_docstring_tokens: Takes a pkg_resources distribution and loads the module contained in it if it matches the rules layed out in : func : ` morepath . autoscan ` .
comment: """
      Takes a pkg_resources distribution and loads the module contained
      in it, if it matches the rules layed out in :func:`morepath.autoscan`.
      """