>>> _hack_make_path_doctest_output(make_path("/a", "b"))
    '/a/b'
    >>> _hack_make_path_doctest_output(make_path(["/a", "b"]))
    '/a/b'
    >>> _hack_make_path_doctest_output(make_path(*["/a", "b"]))
    '/a/b'
    >>> _hack_make_path_doctest_output(make_path("/a"))
    '/a'
    >>> _hack_make_path_doctest_output(make_path(["/a"]))
    '/a'
    >>> _hack_make_path_doctest_output(make_path(*["/a"]))
    '/a'

def make_path(*args):
    """
    >>> _hack_make_path_doctest_output(make_path("/a", "b"))
    '/a/b'
    >>> _hack_make_path_doctest_output(make_path(["/a", "b"]))
    '/a/b'
    >>> _hack_make_path_doctest_output(make_path(*["/a", "b"]))
    '/a/b'
    >>> _hack_make_path_doctest_output(make_path("/a"))
    '/a'
    >>> _hack_make_path_doctest_output(make_path(["/a"]))
    '/a'
    >>> _hack_make_path_doctest_output(make_path(*["/a"]))
    '/a'
    """
    paths = unpack_args(*args)
    return os.path.abspath(os.path.join(*[p for p in paths if p is not None]))