code: def _import_attr_n_module(module_name, attr):
      
      __import__(module_name)
      module = sys.modules[module_name]
      attr = getattr(module, attr)
      return attr, module
docs: From the given ``module_name`` import
      the value for ``attr`` (attribute).