parameters: (platform, path)
return_statement: return _unixypath_to_uri(path)
docstring: Handles any os-specific path separators, mappings, etc.
docstring_summary: Handles any os-specific path separators, mappings, etc.
docstring_tokens: Handles any os - specific path separators mappings etc .
function: def _convert_path(platform, path):
      """Handles any os-specific path separators, mappings, etc."""
      if platform.is_cygwin():
          return _winpath_to_uri(cygpath(path))
      if platform.is_win():
          return _winpath_to_uri(path)
      return _unixypath_to_uri(path)
function_tokens: def _convert_path ( platform , path ) : if platform . is_cygwin ( ) : return _winpath_to_uri ( cygpath ( path ) ) if platform . is_win ( ) : return _winpath_to_uri ( path ) return _unixypath_to_uri ( path )