def format_path(pathname):
    pathname = os.path.abspath(pathname)
    home = os.environ.get('HOME')
    if home:
        home = os.path.abspath(home)
        if pathname.startswith(home):
            pathname = os.path.join('~', os.path.relpath(pathname, home))
    return pathname
calls  rexacts rexit acts for self
dataset/ETHPy150Open xolox/python-humanfriendly/humanfriendly/__init__.py/format_path--crossover with--dataset/ETHPy150Open ioflo/ioflo/ioflo/base/framing.py/Frame.rexit