def __getitem__(self, name):  # -> EntryPoint:
        """
        Get the EntryPoint in self matching name.
        """
        try:
            return next(iter(self.select(name=name)))
        except StopIteration:
            raise KeyError(name)

        Get the EntryPoint in self matching name.
        
product/gradle-plugin/src/main/python/setuptools/_vendor/importlib_metadata/__init__.py