def _dot_lookup(thing, comp, import_path):
    try:
        return getattr(thing, comp)
    except __HOLE__:
        __import__(import_path)
        return getattr(thing, comp)
dataset/ETHPy150Open testing-cabal/mock/mock/mock.py/_dot_lookup