Lib/idlelib/configdialog.py
def load_keys_list(self, keyset_name):
        """Reload the list of action/key binding pairs for the active key set.

        An action/key binding can be selected to change the key binding.
        """
        reselect = 0
        if self.list_bindings.curselection():
            reselect = 1
            list_index = self.list_bindings.index(ANCHOR)
        keyset = idleConf.GetKeySet(keyset_name)
        bind_names = list(keyset.keys())
        bind_names.sort()
        self.list_bindings.delete(0, END)
        for bind_name in bind_names:
            key = ' '.join(keyset[bind_name])
            bind_name = bind_name[2:-2]  # Trim off the angle brackets.
            if keyset_name in changes['keys']:
                # Handle any unsaved changes to this key set.
                if bind_name in changes['keys'][keyset_name]:
                    key = changes['keys'][keyset_name][bind_name]
            self.list_bindings.insert(END, bind_name+' - '+key)
        if reselect:
            self.list_bindings.see(list_index)
            self.list_bindings.select_set(list_index)
            self.list_bindings.select_anchor(list_index)
Reload the list of action/key binding pairs for the active key set.

        An action/key binding can be selected to change the key binding.
        
Reload the list of action/key binding pairs for the active key set.
An action/key binding can be selected to change the key binding.
Reload the list of action / key binding pairs for the active key set . An action / key binding can be selected to change the key binding .
def load_keys_list(self, keyset_name):
        reselect = 0
        if self.list_bindings.curselection():
            reselect = 1
            list_index = self.list_bindings.index(ANCHOR)
        keyset = idleConf.GetKeySet(keyset_name)
        bind_names = list(keyset.keys())
        bind_names.sort()
        self.list_bindings.delete(0, END)
        for bind_name in bind_names:
            key = ' '.join(keyset[bind_name])
            bind_name = bind_name[2:-2]  
            if keyset_name in changes['keys']:
                if bind_name in changes['keys'][keyset_name]:
                    key = changes['keys'][keyset_name][bind_name]
            self.list_bindings.insert(END, bind_name+' - '+key)
        if reselect:
            self.list_bindings.see(list_index)
            self.list_bindings.select_set(list_index)
            self.list_bindings.select_anchor(list_index)
def load_keys_list ( self , keyset_name ) : reselect = 0 if self . list_bindings . curselection ( ) : reselect = 1 list_index = self . list_bindings . index ( ANCHOR ) keyset = idleConf . GetKeySet ( keyset_name ) bind_names = list ( keyset . keys ( ) ) bind_names . sort ( ) self . list_bindings . delete ( 0 , END ) for bind_name in bind_names : key = ' ' . join ( keyset [ bind_name ] ) bind_name = bind_name [ 2 : - 2 ] if keyset_name in changes [ 'keys' ] : if bind_name in changes [ 'keys' ] [ keyset_name ] : key = changes [ 'keys' ] [ keyset_name ] [ bind_name ] self . list_bindings . insert ( END , bind_name + ' - ' + key ) if reselect : self . list_bindings . see ( list_index ) self . list_bindings . select_set ( list_index ) self . list_bindings . select_anchor ( list_index )
Reload the list of action/key binding pairs for the active key set.
Reload the list of action / key binding pairs for the active key set .
"""Reload the list of action/key binding pairs for the active key set.

        An action/key binding can be selected to change the key binding.
        """ # Trim off the angle brackets. # Handle any unsaved changes to this key set.
self
keyset_name