class_docstr: Hold config parsers for all idle config files in singleton instance.
  
  Default config files, self.defaultCfg --
      for config_type in self.config_types:
          (idle install dir)/config-{config-type}.def
  
  User config files, self.userCfg --
      for config_type in self.config_types:
      (user home dir)/.idlerc/config-{config-type}.cfg
class_docstr_tok: ["Hold","config","parsers","for","all","idle","config","files","in","singleton","instance",".","Default","config","files",",","self.defaultCfg","--","for","config_type","in","self.config_types",":","(","idle","install","dir",")","\/config-","{","config-type","}",".def","User","config","files",",","self.userCfg","--","for","config_type","in","self.config_types",":","(","user","home","dir",")","\/.idlerc\/config-","{","config-type","}",".cfg"]
docstr: Return CurrentKeys with 'darwin' modifications.
docstr_tok: ["Return","CurrentKeys","with","'darwin","'","modifications","."]
code: def GetCurrentKeySet(self):
      "Return CurrentKeys with 'darwin' modifications."
      result = self.GetKeySet(self.CurrentKeys())
  
      if sys.platform == "darwin":
          # macOS (OS X) Tk variants do not support the "Alt"
          # keyboard modifier.  Replace it with "Option".
          # TODO (Ned?): the "Option" modifier does not work properly
          #     for Cocoa Tk and XQuartz Tk so we should not use it
          #     in the default 'OSX' keyset.
          for k, v in result.items():
              v2 = [x.replace("<Alt-", "<Option-") for x in v]
              if v != v2:
                  result[k] = v2
  
      return result
  
imports: from configparser import ConfigParser
  import os
  import sys
  from tkinter.font import Font
  import idlelib
label_desc: Use image node_id 20 for calling the IdleConf obj's underlying member method code with example usage: obj.GetCurrentKeySet() and returns: result