code: def warning(message, *args, **kwargs):
      format = kwargs.pop("format", True)
      assert not kwargs
  
      if debug_function and enable_warning:
          i = " " * _debug_indent
          if format:
              message = message % tuple(u(repr(a)) for a in args)
          debug_function("RED", i + "warning: " + message)
  
file_path: catboost/contrib/python/jedi/py2/jedi/debug.py
imports: from jedi._compatibility import encoding, is_py3, u
  import os
  import time
label_desc: Use image node_id 5 for calling a global function with example usage: warning(message) without return types