code: def separator(path):
      """Return the local path separator (always / in the contents manager)"""
      if os.path.sep == "\\" and "\\" in path:
          return "\\"
      return "/"
  
file_path: jupytext/src/jupytext/paired_paths.py
imports: import os
  from .config import find_jupytext_configuration_file
  from .formats import NOTEBOOK_EXTENSIONS, long_form_multiple_formats, long_form_one_format, short_form_multiple_formats, short_form_one_format
label_desc: Use image node_id 3 for calling a global function with example usage: separator(path) and returns: str, str