code: def _split_path(path, seps=PATH_SEPS):
      
      if not path:
          return []
  
      for sep in seps:
          if sep in path:
              if path == sep:  # Special case, '/' or '.' only.
                  return ['']
              return [x for x in path.split(sep) if x]
  
      return [path]
docs: Parse path expression and return list of path items.
  
      :param path: Path expression may contain separator chars.
      :param seps: Separator char candidates.
      :return: A list of keys to fetch object[s] later.
  
      >>> assert _split_path('') == []
      >>> assert _split_path('/') == ['']  # JSON Pointer spec expects this.
      >>> for p in ('/a', '.a', 'a', 'a.'):
      ...     assert _split_path(p) == ['a'], p
      >>> assert _split_path('/a/b/c') == _split_path('a.b.c') == ['a', 'b', 'c']
      >>> assert _split_path('abc') == ['abc']