code: def _nest_path(parent: _Path, path: _Path) -> str:
      path = parent if path in {".", ""} else os.path.join(parent, path)
      return os.path.normpath(path)
  
imports: import ast
  import importlib
  import os
  import pathlib
  import sys
  from glob import iglob
  from configparser import ConfigParser
  from importlib.machinery import ModuleSpec
  from itertools import chain
  from typing import TYPE_CHECKING, Callable, Dict, Iterable, Iterator, List, Mapping, Optional, Tuple, TypeVar, Union, cast
  from pathlib import Path
  from types import ModuleType
  from distutils.errors import DistutilsOptionError
  from .._path import same_path
  from ..warnings import SetuptoolsWarning
label_desc: Use image node_id 13 for calling a global function with example usage: _nest_path(parent, path) and returns: os