parameters: (s)
return_statement: return len(s) > 0 and s[0] in _get_bothseps(s)
docstring: Test whether a path is absolute
docstring_summary: Test whether a path is absolute
docstring_tokens: Test whether a path is absolute
function: def isabs(s):
      """Test whether a path is absolute"""
      s = os.fspath(s)
      s = splitdrive(s)[1]
      return len(s) > 0 and s[0] in _get_bothseps(s)
function_tokens: def isabs ( s ) : s = os . fspath ( s ) s = splitdrive ( s ) [ 1 ] return len ( s ) > 0 and s [ 0 ] in _get_bothseps ( s )