

def join_dir(base_path, path):
    '\n    Returns an absolute path to C{path}, calculated relative to the parent\n    of C{base_path}.\n\n    @param base_path: A path to a file or directory.\n    @param path: An absolute path, or a path relative to the containing\n    directory of C{base_path}.\n\n    @return: An absolute path to C{path}.\n    '
    return os.path.join(os.path.dirname(os.path.abspath(base_path)), base_path)

dataset/ETHPy150Open byt3bl33d3r/pth-toolkit/lib/python2.7/site-packages/samba/external/subunit/__init__.py join_dir/VarMisuse@37/173 `path`->`base_path`