Lib/idlelib/configdialog.py
def save_new_key_set(self, keyset_name, keyset):
        """Save a newly created core key set.

        keyset_name - string, the name of the new key set
        keyset - dictionary containing the new key set
        """
        if not idleConf.userCfg['keys'].has_section(keyset_name):
            idleConf.userCfg['keys'].add_section(keyset_name)
        for event in keyset:
            value = keyset[event]
            idleConf.userCfg['keys'].SetOption(keyset_name, event, value)
Save a newly created core key set.

        keyset_name - string, the name of the new key set
        keyset - dictionary containing the new key set
        
Save a newly created core key set.
keyset_name - string, the name of the new key set
keyset - dictionary containing the new key set
Save a newly created core key set . keyset_name - string the name of the new key set keyset - dictionary containing the new key set
def save_new_key_set(self, keyset_name, keyset):
        if not idleConf.userCfg['keys'].has_section(keyset_name):
            idleConf.userCfg['keys'].add_section(keyset_name)
        for event in keyset:
            value = keyset[event]
            idleConf.userCfg['keys'].SetOption(keyset_name, event, value)
def save_new_key_set ( self , keyset_name , keyset ) : if not idleConf . userCfg [ 'keys' ] . has_section ( keyset_name ) : idleConf . userCfg [ 'keys' ] . add_section ( keyset_name ) for event in keyset : value = keyset [ event ] idleConf . userCfg [ 'keys' ] . SetOption ( keyset_name , event , value )
Save a newly created core key set.
Save a newly created core key set .
"""Save a newly created core key set.

        keyset_name - string, the name of the new key set
        keyset - dictionary containing the new key set
        """
self
keyset_name
keyset