parameters: (path)
return_statement: return stat.S_ISLNK(st.st_mode)
docstring: Test whether a path is a symbolic link
docstring_summary: Test whether a path is a symbolic link
docstring_tokens: Test whether a path is a symbolic link
function: def islink(path):
      """Test whether a path is a symbolic link"""
      try:
          st = os.lstat(path)
      except (os.error, AttributeError):
          return False
      return stat.S_ISLNK(st.st_mode)
function_tokens: def islink ( path ) : try : st = os . lstat ( path ) except ( os . error , AttributeError ) : return False return stat . S_ISLNK ( st . st_mode )