code: def _fix_args(args, flag=1):
      if is_string(args):
          return args.replace("%", "%%")
      if flag and is_sequence(args):
          return tuple([_fix_args(a, flag=0) for a in args])
      return args
  
file_path: catboost/contrib/python/numpy/py3/numpy/distutils/log.py
imports: import sys
  from distutils.log import *
  from distutils.log import Log
  from distutils.log import _global_log
  from numpy.distutils.misc_util import red_text, default_text, cyan_text, green_text, is_sequence, is_string
label_desc: Use image node_id 1 for calling a global function with example usage: _fix_args(args, flag) and returns: args, args, tuple