def get_distribution(dist):
    if isinstance(dist, string_types):
        dist = Requirement.parse(dist)
    if isinstance(dist, Requirement):
        dist = get_provider(dist)
    if not isinstance(dist, Distribution):
        raise TypeError("Expected string, Requirement, or Distribution", dist)
    return dist
Resource previously existed?
dataset/ETHPy150Open anzev/hedwig/build/pip/pip/_vendor/pkg_resources/__init__.py/get_distribution--crossover with--dataset/ETHPy150Open benoitc/dj-webmachine/webmachine/decisions.py/k07