class_docstr: Adapt loaders to provide TraversableResources and other
  compatibility.
  
  Used primarily for Python 3.9 and earlier where the native
  loaders do not yet implement TraversableResources.
class_docstr_tok: ["Adapt","loaders","to","provide","TraversableResources","and","other","compatibility",".","Used","primarily","for","Python","3.9","and","earlier","where","the","native","loaders","do","not","yet","implement","TraversableResources","."]
code: def path(self):
      return self.spec.origin
  
file_path: catboost/contrib/python/setuptools/py3/pkg_resources/_vendor/importlib_resources/_compat.py
imports: import abc
  import os
  import sys
  import pathlib
  from contextlib import suppress
  from typing import Union
label_desc: Use image node_id 2 for calling the TraversableResourcesLoader obj's underlying member method code with example usage: obj.path() and returns: self