[3.6] bpo-30779: IDLE: fix changes.delete_section calls in configdialog (GH-2667) (#2674)

Also improve test of config.ConfigChanges.delete_section.
Original patch by Cheryl Sabella.
(cherry picked from commit 6d13b22)
This commit is contained in:
terryjreedy 2017-07-11 19:50:10 -04:00 committed by GitHub
parent 675c1adfe5
commit c0179483f1
3 changed files with 9 additions and 5 deletions

View file

@ -794,7 +794,8 @@ class ConfigChanges(dict):
add_option: Add option and value to changes.
save_option: Save option and value to config parser.
save_all: Save all the changes to the config parser and file.
delete_section: Delete section if it exists.
delete_section: If section exists,
delete from changes, userCfg, and file.
clear: Clear all changes by clearing each page.
"""
def __init__(self):