(cls, **kwargs)
return itertools.chain.from_iterable(
            resolver(context) for resolver in cls._discover_resolvers()
        )
Return an iterable of Distribution objects for all packages.

        Pass a ``context`` or pass keyword arguments for constructing
        a context.

        :context: A ``DistributionFinder.Context`` object.
        :return: Iterable of Distribution objects for all packages.
Return an iterable of Distribution objects for all packages.
Return an iterable of Distribution objects for all packages .
def discover(cls, **kwargs):
        """Return an iterable of Distribution objects for all packages.

        Pass a ``context`` or pass keyword arguments for constructing
        a context.

        :context: A ``DistributionFinder.Context`` object.
        :return: Iterable of Distribution objects for all packages.
        """
        context = kwargs.pop('context', None)
        if context and kwargs:
            raise ValueError("cannot accept context and kwargs")
        context = context or DistributionFinder.Context(**kwargs)
        return itertools.chain.from_iterable(
            resolver(context) for resolver in cls._discover_resolvers()
        )
def discover ( cls , * * kwargs ) : context = kwargs . pop ( 'context' , None ) if context and kwargs : raise ValueError ( "cannot accept context and kwargs" ) context = context or DistributionFinder . Context ( * * kwargs ) return itertools . chain . from_iterable ( resolver ( context ) for resolver in cls . _discover_resolvers ( ) )