PathFinder.find_spec

PathFinder.find_spec(fullname, path, target=None)[source]