Lib/idlelib/configdialog.py
def save_new_theme(self, theme_name, theme):
        """Save a newly created theme.

        theme_name - string, the name of the new theme
        theme - dictionary containing the new theme
        """
        if not idleConf.userCfg['highlight'].has_section(theme_name):
            idleConf.userCfg['highlight'].add_section(theme_name)
        for element in theme:
            value = theme[element]
            idleConf.userCfg['highlight'].SetOption(theme_name, element, value)
Save a newly created theme.

        theme_name - string, the name of the new theme
        theme - dictionary containing the new theme
        
Save a newly created theme.
theme_name - string, the name of the new theme
theme - dictionary containing the new theme
Save a newly created theme . theme_name - string the name of the new theme theme - dictionary containing the new theme
def save_new_theme(self, theme_name, theme):
        if not idleConf.userCfg['highlight'].has_section(theme_name):
            idleConf.userCfg['highlight'].add_section(theme_name)
        for element in theme:
            value = theme[element]
            idleConf.userCfg['highlight'].SetOption(theme_name, element, value)
def save_new_theme ( self , theme_name , theme ) : if not idleConf . userCfg [ 'highlight' ] . has_section ( theme_name ) : idleConf . userCfg [ 'highlight' ] . add_section ( theme_name ) for element in theme : value = theme [ element ] idleConf . userCfg [ 'highlight' ] . SetOption ( theme_name , element , value )
Save a newly created theme.
Save a newly created theme .
"""Save a newly created theme.

        theme_name - string, the name of the new theme
        theme - dictionary containing the new theme
        """
self
theme_name
theme