(module, name)
return module
import_sub_module will mimic the function of importlib.import_module
import_sub_module will mimic the function of importlib.import_module
import_sub_module will mimic the function of importlib . import_module
def _import_sub_module(module, name):
    """import_sub_module will mimic the function of importlib.import_module"""
    module = __import__(module.__name__ + "." + name)
    for level in name.split("."):
        module = getattr(module, level)
    return module
def _import_sub_module ( module , name ) : module = __import__ ( module . __name__ + "." + name ) for level in name . split ( "." ) : module = getattr ( module , level ) return module