code: def _get_component(self, component_type: Type[C]) -> Iterable[Tuple[int, C]]:
          
          entity_db = self._entities
  
          for entity in self._components.get(component_type, []):
              yield entity, entity_db[entity][component_type]
docs: Get an iterator for Entity, Component pairs.
  
          :param component_type: The Component type to retrieve.
          :return: An iterator for (Entity, Component) tuples.