code: def from_package(package):
      """
      Return a Traversable object for the given package.
  
      """
      spec = wrap_spec(package)
      reader = spec.loader.get_resource_reader(spec.name)
      return reader.files()
  
file_path: catboost/contrib/tools/python3/src/Lib/importlib/resources/_common.py
imports: import os
  import pathlib
  import tempfile
  import functools
  import contextlib
  import types
  import importlib
  from typing import Union, Optional
  from .abc import ResourceReader, Traversable
  from ._adapters import wrap_spec
label_desc: Use image node_id 5 for calling a global function with example usage: from_package(package) and returns: reader