parameters: (name, package=None, level=0)
return_statement: return _find_and_load(name, _gcd_import)
docstring: Import and return the module based on its name, the package the call is
      being made from, and the level adjustment.
  
      This function represents the greatest common denominator of functionality
      between import_module and __import__. This includes setting __package__ if
      the loader did not.
docstring_summary: Import and return the module based on its name, the package the call is
      being made from, and the level adjustment.
docstring_tokens: Import and return the module based on its name the package the call is being made from and the level adjustment .
function: def _gcd_import(name, package=None, level=0):
      """Import and return the module based on its name, the package the call is
      being made from, and the level adjustment.
  
      This function represents the greatest common denominator of functionality
      between import_module and __import__. This includes setting __package__ if
      the loader did not.
  
      """
      _sanity_check(name, package, level)
      if level > 0:
          name = _resolve_name(name, package, level)
      return _find_and_load(name, _gcd_import)
function_tokens: def _gcd_import ( name , package = None , level = 0 ) : _sanity_check ( name , package , level ) if level > 0 : name = _resolve_name ( name , package , level ) return _find_and_load ( name , _gcd_import )