def _get_source(func):
    real_func = _get_real_func(func)
    try:
        return _source_map[real_func]
    except __HOLE__:
        source = inspect.getsource(func)
        source = dedent(source)
        return source
dataset/ETHPy150Open adamchainz/patchy/patchy/api.py/_get_source