(path)
return normpath(path)
Return the absolute version of a path as a fallback function in case
    `nt._getfullpathname` is not available or raises OSError. See bpo-31047 for
    more.
Return the absolute version of a path as a fallback function in case
    `nt._getfullpathname` is not available or raises OSError. See bpo-31047 for
    more.
Return the absolute version of a path as a fallback function in case nt . _getfullpathname is not available or raises OSError . See bpo - 31047 for more .
def _abspath_fallback(path):
    """Return the absolute version of a path as a fallback function in case
    `nt._getfullpathname` is not available or raises OSError. See bpo-31047 for
    more.

    """

    path = os.fspath(path)
    if not isabs(path):
        if isinstance(path, bytes):
            cwd = os.getcwdb()
        else:
            cwd = os.getcwd()
        path = join(cwd, path)
    return normpath(path)
def _abspath_fallback ( path ) : path = os . fspath ( path ) if not isabs ( path ) : if isinstance ( path , bytes ) : cwd = os . getcwdb ( ) else : cwd = os . getcwd ( ) path = join ( cwd , path ) return normpath ( path )