class_docstr: Like `dict` but normalize path-like objects.
  
  It means `d[Path('/path/')]` and `d['/path/']` are equivalent.
class_docstr_tok: ["Like","`","dict","`","but","normalize","path-like","objects",".","It","means","`","d","[","Path","(","'\/path\/","'",")","]","`","and","`","d","[","'\/path\/","'","]","`","are","equivalent","."]
code: def __setitem__(self, key, value):
      return super().__setitem__(os.fspath(key), epath.Path(value))
  
imports: import collections
  import hashlib
  import json
  import os
  import pickle
  from unittest import mock
  from absl.testing import parameterized
  from etils import epath
  import promise
  import tensorflow
  from tensorflow_datasets import testing
  from tensorflow_datasets.core.download import checksums
  from tensorflow_datasets.core.download import download_manager
  from tensorflow_datasets.core.download import downloader
  from tensorflow_datasets.core.download import extractor
  from tensorflow_datasets.core.download import resource
  from tensorflow_datasets.core.utils import tree_utils
label_desc: Use image node_id 2 for calling the PathDict obj's underlying member method code with example usage: obj.__setitem__(key, value) and returns: super