code: def mk_nested_dic(path, val, seps=PATH_SEPS):
      
      ret = None
      for key in reversed(_split_path(path, seps)):
          ret = {key: val if ret is None else ret.copy()}
  
      return ret
docs: Make a nested dict iteratively.
  
      :param path: Path expression to make a nested dict
      :param val: Value to set
      :param seps: Separator char candidates
  
      >>> mk_nested_dic("a.b.c", 1)
      {'a': {'b': {'c': 1}}}
      >>> mk_nested_dic("/a/b/c", 1)
      {'a': {'b': {'c': 1}}}