(s)
return s.startswith(sep)
Test whether a path is absolute
Test whether a path is absolute
Test whether a path is absolute
def isabs(s):
    """Test whether a path is absolute"""
    s = os.fspath(s)
    sep = _get_sep(s)
    return s.startswith(sep)
def isabs ( s ) : s = os . fspath ( s ) sep = _get_sep ( s ) return s . startswith ( sep )