parameters: (path)
return_statement: return os.path.expandvars(os.path.expanduser(path))
docstring: Expand user and environmental variables in a string.
docstring_summary: Expand user and environmental variables in a string.
docstring_tokens: Expand user and environmental variables in a string .
function: def expand_path(path):
      """Expand user and environmental variables in a string."""
      return os.path.expandvars(os.path.expanduser(path))
function_tokens: def expand_path ( path ) : return os . path . expandvars ( os . path . expanduser ( path ) )