code: def _search_param_in_numpydocstr(docstr, param_str):
      """Search `docstr` (in numpydoc format) for type(-s) of `param_str`."""
      try:
          # This is a non-public API. If it ever changes we should be
          # prepared and return gracefully.
          params = _get_numpy_doc_string_cls()(docstr)._parsed_data[
              "Parameters"
          ]
      except (KeyError, AttributeError, ImportError):
          return []
      for p_name, p_type, p_descr in params:
          if p_name == param_str:
              m = re.match(
                  r"([^,]+(,[^,]+)*?)(,[ ]*optional)?$", p_type
              )
              if m:
                  p_type = m.group(1)
              return list(_expand_typestr(p_type))
      return []
  
file_path: catboost/contrib/python/jedi/py3/jedi/evaluate/docstrings.py
imports: import re
  from textwrap import dedent
  from parso import parse, ParserSyntaxError
  from jedi._compatibility import u
  from jedi.evaluate.utils import indent_block
  from jedi.evaluate.cache import evaluator_method_cache
  from jedi.evaluate.base_context import iterator_to_context_set, ContextSet, NO_CONTEXTS
  from jedi.evaluate.lazy_context import LazyKnownContexts
label_desc: Use image node_id 2 for calling a global function with example usage: _search_param_in_numpydocstr(docstr, param_str) and returns: list, list, list