code: def _get_function_source(func):
      func = inspect.unwrap(func)
      if inspect.isfunction(func):
          code = func.__code__
          return (code.co_filename, code.co_firstlineno)
      if isinstance(func, functools.partial):
          return _get_function_source(func.func)
      if isinstance(func, functools.partialmethod):
          return _get_function_source(func.func)
      return None
  
file_path: catboost/contrib/tools/python3/src/Lib/asyncio/format_helpers.py
imports: import functools
  import inspect
  import reprlib
  import sys
  import traceback
  from .None import constants
label_desc: Use image node_id 1 for calling a global function with example usage: _get_function_source(func) and returns: None, code,  code, _get_function_source, _get_function_source