code: def _read_text(descr_module, descr_file_name):
      if sys.version_info >= (3, 9):
          return (
              resources.files(descr_module)
              .joinpath(descr_file_name)
              .read_text()
          )
      else:
          return resources.read_text(descr_module, descr_file_name)
  
imports: import sys
  from importlib import resources
  import numpy
  import scipy
  import scipy.sparse.linalg
  import scipy.stats
  import threadpoolctl
  import sklearn
  from ..externals._packaging.version import parse
  from .deprecation import deprecated
label_desc: Use image node_id 10 for calling a global function with example usage: _read_text(descr_module, descr_file_name) and returns: resources, resources