code: def set_sig(sig):
      prefix, _, args = sig.partition("(")
      args = args.rpartition(")")[0]
      funcname = prefix.rpartition(" ")[-1]
      args = [arg.strip() for arg in args.split(",")]
      # We use {0} because 0 alone cannot be cast to complex on MSVC in C:
      FUNC_CALL_ARGS[funcname] = ", ".join(
          "(%s){0}" % arg for arg in args
      )
  
file_path: catboost/contrib/python/numpy/py3/numpy/core/setup_common.py
imports: import copy
  import pathlib
  import sys
  import textwrap
  from numpy.distutils.misc_util import mingw32
label_desc: Use image node_id 3 for calling a global function with example usage: set_sig(sig) without return types