parameters: (path)
return_statement: return path
docstring: Converts a path to the format used by gyp.
docstring_summary: Converts a path to the format used by gyp.
docstring_tokens: Converts a path to the format used by gyp .
function: def _ToGypPath(path):
    """Converts a path to the format used by gyp."""
    if os.sep == '\\' and os.altsep == '/':
      return path.replace('\\', '/')
    return path
function_tokens: def _ToGypPath ( path ) : if os . sep == '\\' and os . altsep == '/' : return path . replace ( '\\' , '/' ) return path