Create a page for each configuration file
(self)
| 799 | clear: Clear all changes by clearing each page. |
| 800 | """ |
| 801 | def __init__(self): |
| 802 | "Create a page for each configuration file" |
| 803 | self.pages = [] # List of unhashable dicts. |
| 804 | for config_type in idleConf.config_types: |
| 805 | self[config_type] = {} |
| 806 | self.pages.append(self[config_type]) |
| 807 | |
| 808 | def add_option(self, config_type, section, item, value): |
| 809 | "Add item/value pair for config_type and section." |