code: def _initializeTkVariantTests(root):
      """
      Initializes OS X Tk variant values for
      isAquaTk(), isCarbonTk(), isCocoaTk(), and isXQuartz().
      """
      global _tk_type
      if sys.platform == "darwin":
          ws = root.tk.call("tk", "windowingsystem")
          if "x11" in ws:
              _tk_type = "xquartz"
          elif "aqua" not in ws:
              _tk_type = "other"
          elif "AppKit" in root.tk.call("winfo", "server", "."):
              _tk_type = "cocoa"
          else:
              _tk_type = "carbon"
      else:
          _tk_type = "other"
  
file_path: catboost/contrib/tools/python/src/Lib/idlelib/macosxSupport.py
imports: import sys
  import Tkinter
  from os import path
  import warnings
label_desc: Use image node_id 3 for calling a global function with example usage: _initializeTkVariantTests(root) without return types