parameters: (self)
docstring: Determine list of names of key modifiers for this platform.
  
          The names are used to build Tk bindings -- it doesn't matter if the
          keyboard has these keys, it matters if Tk understands them. The
          order is also important: key binding equality depends on it, so
          config-keys.def must use the same ordering.
docstring_summary: Determine list of names of key modifiers for this platform.
docstring_tokens: Determine list of names of key modifiers for this platform .
function: def SetModifiersForPlatform(self):
          """Determine list of names of key modifiers for this platform.
  
          The names are used to build Tk bindings -- it doesn't matter if the
          keyboard has these keys, it matters if Tk understands them. The
          order is also important: key binding equality depends on it, so
          config-keys.def must use the same ordering.
          """
          from idlelib import macosxSupport
          if macosxSupport.runningAsOSXApp():
              self.modifiers = ['Shift', 'Control', 'Option', 'Command']
          else:
              self.modifiers = ['Control', 'Alt', 'Shift']
          self.modifier_label = {'Control': 'Ctrl'}
function_tokens: def SetModifiersForPlatform ( self ) : from idlelib import macosxSupport if macosxSupport . runningAsOSXApp ( ) : self . modifiers = [ 'Shift' , 'Control' , 'Option' , 'Command' ] else : self . modifiers = [ 'Control' , 'Alt' , 'Shift' ] self . modifier_label = { 'Control' : 'Ctrl' }