code: def MC(methods, kwargs, callertype, firstresult=False):
      hookfuncs = []
      for method in methods:
          f = HookImpl(None, "<temp>", method, method.example_impl)
          hookfuncs.append(f)
      return callertype(hookfuncs, kwargs, firstresult=firstresult)
  
file_path: catboost/contrib/python/pluggy/py2/tests/benchmark.py
imports: import pytest
  from pluggy import HookspecMarker, HookimplMarker
  from pluggy.hooks import HookImpl
  from pluggy.callers import _multicall, _legacymulticall
label_desc: Use image node_id 1 for calling a global function with example usage: MC(methods, kwargs, callertype, firstresult) and returns: callertype