code: def infer_return_types(function_context):
      def search_return_in_docstr(code):
          for p in DOCSTRING_RETURN_PATTERNS:
              match = p.search(code)
              if match:
                  yield _strip_rst_role(match.group(1))
          # Check for numpy style return hint
          for type_ in _search_return_in_numpydocstr(code):
              yield type_
  
      for type_str in search_return_in_docstr(
          function_context.py__doc__()
      ):
          for type_eval in _evaluate_for_statement_string(
              function_context.get_root_context(), type_str
          ):
              yield type_eval
  
file_path: catboost/contrib/python/jedi/py2/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 11 for calling a global function with example usage: infer_return_types(function_context) without return types