parameters: (root, flist)
docstring: Perform initial OS X customizations if needed.
      Called from pyshell.main() after initial calls to Tk()
  
      There are currently three major versions of Tk in use on OS X:
          1. Aqua Cocoa Tk (native default since OS X 10.6)
          2. Aqua Carbon Tk (original native, 32-bit only, deprecated)
          3. X11 (supported by some third-party distributors, deprecated)
      There are various differences among the three that affect IDLE
      behavior, primarily with menus, mouse key events, and accelerators.
      Some one-time customizations are performed here.
      Others are dynamically tested throughout idlelib by calls to the
      isAquaTk(), isCarbonTk(), isCocoaTk(), isXQuartz() functions which
      are initialized here as well.
docstring_summary: Perform initial OS X customizations if needed.
      Called from pyshell.main() after initial calls to Tk()
docstring_tokens: Perform initial OS X customizations if needed . Called from pyshell . main () after initial calls to Tk ()
function: def setupApp(root, flist):
      """
      Perform initial OS X customizations if needed.
      Called from pyshell.main() after initial calls to Tk()
  
      There are currently three major versions of Tk in use on OS X:
          1. Aqua Cocoa Tk (native default since OS X 10.6)
          2. Aqua Carbon Tk (original native, 32-bit only, deprecated)
          3. X11 (supported by some third-party distributors, deprecated)
      There are various differences among the three that affect IDLE
      behavior, primarily with menus, mouse key events, and accelerators.
      Some one-time customizations are performed here.
      Others are dynamically tested throughout idlelib by calls to the
      isAquaTk(), isCarbonTk(), isCocoaTk(), isXQuartz() functions which
      are initialized here as well.
      """
      if isAquaTk():
          hideTkConsole(root)
          overrideRootMenu(root, flist)
          addOpenEventSupport(root, flist)
          fixb2context(root)
function_tokens: def setupApp ( root , flist ) : if isAquaTk ( ) : hideTkConsole ( root ) overrideRootMenu ( root , flist ) addOpenEventSupport ( root , flist ) fixb2context ( root )