code: def contents(package: Package) -> Iterable[str]:
      """Return an iterable of entries in `package`.
  
      Note that not all entries are resources.  Specifically, directories are
      not considered resources.  Use `is_resource()` on each entry returned here
      to check if it is a resource or not.
      """
      return [path.name for path in _common.files(package).iterdir()]
  
file_path: catboost/contrib/tools/python3/src/Lib/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 7 for calling a global function with example usage: contents(package) and returns: unknown