code: def open_text(
      package: Package,
      resource: Resource,
      encoding: str = "utf-8",
      errors: str = "strict",
  ) -> TextIO:
      """Return a file-like object opened for text reading of the resource."""
      return (_common.files(package) / normalize_path(resource)).open(
          "r", encoding=encoding, errors=errors
      )
  
file_path: catboost/contrib/python/setuptools/py3/pkg_resources/_vendor/importlib_resources/_legacy.py
imports: import functools
  import os
  import pathlib
  import types
  import warnings
  from typing import Union, Iterable, ContextManager, BinaryIO, TextIO, Any
  from .None import _common
label_desc: Use image node_id 5 for calling a global function with example usage: open_text(package, resource, encoding, errors) and returns: unknown