docs: def _register_entry_point_module(self, entry_point, module):
          """
          Private method that registers an entry_point with a provided
          module.
          """
  
          records_map = self._map_entry_point_module(entry_point, module)
          self.store_records_for_package(entry_point, list(records_map.keys()))
  
          for module_name, records in records_map.items():
              if module_name in self.records:
                  logger.info(
                      "module '%s' was already declared in registry '%s'; "
                      "applying new records on top.",
                      module_name, self.registry_name,
                  )
                  logger.debug("overwriting keys: %s", sorted(
                      set(self.records[module_name].keys()) &
                      set(records.keys())
                  ))
                  self.records[module_name].update(records)
              else:
                  logger.debug(
                      "adding records for module '%s' to registry '%s'",
                      module_name, self.registry_name,
                  )
                  self.records[module_name] = records