parameters: (filename)
return_statement: return abspath(path)
docstring: Return the canonical path of the specified filename, eliminating any
  symbolic links encountered in the path.
docstring_summary: Return the canonical path of the specified filename, eliminating any
  symbolic links encountered in the path.
docstring_tokens: Return the canonical path of the specified filename eliminating any symbolic links encountered in the path .
function: def realpath(filename):
      """Return the canonical path of the specified filename, eliminating any
  symbolic links encountered in the path."""
      filename = os.fspath(filename)
      path, ok = _joinrealpath(filename[:0], filename, {})
      return abspath(path)
function_tokens: def realpath ( filename ) : filename = os . fspath ( filename ) path , ok = _joinrealpath ( filename [ : 0 ] , filename , { } ) return abspath ( path )