'Get the cache entry for `mod_path`.'

def cache_get(self, mod_path, distribution=None):

    if isinstance(mod_path, types.ModuleType):
        mod_path = mod_path.__file__
    mod_path = fix_pyext(mod_path)
    return self.cached_descriptions.get(mod_path)
