code: def _search_return_in_numpydocstr(docstr):
      """
      Search `docstr` (in numpydoc format) for type(-s) of function returns.
      """
      try:
          doc = _get_numpy_doc_string_cls()(docstr)
      except ImportError:
          return
      try:
          # This is a non-public API. If it ever changes we should be
          # prepared and return gracefully.
          returns = doc._parsed_data["Returns"]
          returns += doc._parsed_data["Yields"]
      except (KeyError, AttributeError):
          return
      for r_name, r_type, r_descr in returns:
          # Return names are optional and if so the type is in the name
          if not r_type:
              r_type = r_name
          for type_ in _expand_typestr(r_type):
              yield type_
  
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 3 for calling a global function with example usage: _search_return_in_numpydocstr(docstr) without return types