code: def get_imported_module(self, context):
          
          if self.level == 0:
              return context.project.get_module(
                  self.module_name, context.folder)
          else:
              return context.project.get_relative_module(
                  self.module_name, context.folder, self.level)
docs: Get the imported `PyModule`
  
          Raises `rope.base.exceptions.ModuleNotFoundError` if module
          could not be found.