code: def _format_callback(func, args, kwargs, suffix=""):
      if isinstance(func, functools.partial):
          suffix = _format_args_and_kwargs(args, kwargs) + suffix
          return _format_callback(
              func.func, func.args, func.keywords, suffix
          )
  
      if hasattr(func, "__qualname__") and func.__qualname__:
          func_repr = func.__qualname__
      elif hasattr(func, "__name__") and func.__name__:
          func_repr = func.__name__
      else:
          func_repr = repr(func)
  
      func_repr += _format_args_and_kwargs(args, kwargs)
      if suffix:
          func_repr += suffix
      return func_repr
  
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 4 for calling a global function with example usage: _format_callback(func, args, kwargs, suffix) and returns: func_repr, _format_callback