code: def read_text(package, resource, encoding="utf-8", errors="strict"):
      return read_binary(package, resource).decode(encoding, errors)
  
file_path: catboost/contrib/python/importlib-resources/importlib_resources/__init__.py
imports: import io
  import pkgutil
  from contextlib import contextmanager
label_desc: Use image node_id 2 for calling a global function with example usage: read_text(package, resource, encoding, errors) and returns: read_binary