Lib/idlelib/configdialog.py
def remove_var_callbacks(self):
        "Remove callbacks to prevent memory leaks."
        for var in (
                self.font_size, self.font_name, self.font_bold,
                self.space_num, self.colour, self.builtin_theme,
                self.custom_theme, self.is_builtin_theme, self.highlight_target,
                self.keybinding, self.builtin_keys, self.custom_keys,
                self.are_keys_builtin, self.win_width, self.win_height,
                self.startup_edit, self.autosave,):
            var.trace_remove('write', var.trace_info()[0][1])
Remove callbacks to prevent memory leaks.
Remove callbacks to prevent memory leaks.
Remove callbacks to prevent memory leaks .
def remove_var_callbacks(self):
        for var in (
                self.font_size, self.font_name, self.font_bold,
                self.space_num, self.colour, self.builtin_theme,
                self.custom_theme, self.is_builtin_theme, self.highlight_target,
                self.keybinding, self.builtin_keys, self.custom_keys,
                self.are_keys_builtin, self.win_width, self.win_height,
                self.startup_edit, self.autosave,):
            var.trace_remove('write', var.trace_info()[0][1])
def remove_var_callbacks ( self ) : for var in ( self . font_size , self . font_name , self . font_bold , self . space_num , self . colour , self . builtin_theme , self . custom_theme , self . is_builtin_theme , self . highlight_target , self . keybinding , self . builtin_keys , self . custom_keys , self . are_keys_builtin , self . win_width , self . win_height , self . startup_edit , self . autosave , ) : var . trace_remove ( 'write' , var . trace_info ( ) [ 0 ] [ 1 ] )
Remove callbacks to prevent memory leaks.
Remove callbacks to prevent memory leaks .
"Remove callbacks to prevent memory leaks."
self