Searched refs:save_option (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/idlelib/idle_test/ |
D | test_config.py | 746 save_option = self.changes.save_option 747 self.assertTrue(save_option('main', 'Indent', 'what', '0')) 748 self.assertFalse(save_option('main', 'Indent', 'what', '0')) 751 self.assertTrue(save_option('main', 'Indent', 'use-spaces', '0')) 753 self.assertTrue(save_option('main', 'Indent', 'use-spaces', '1')) 772 changes.save_option('main', 'HelpFiles', 'IDLE', 'idledoc')
|
/external/python/cpython3/Lib/idlelib/ |
D | config.py | 833 def save_option(config_type, section, item, value): member in ConfigChanges 862 if self.save_option(config_type, section, item, value):
|