diff options
author | csabella <cheryl.sabella@gmail.com> | 2017-07-11 23:09:44 (GMT) |
---|---|---|
committer | terryjreedy <tjreedy@udel.edu> | 2017-07-11 23:09:44 (GMT) |
commit | 6d13b22e3ab262c6b1f068259aebd705e7da316c (patch) | |
tree | 2ddd14edce94edafbd2f8b2d850f2b07b9980000 /Lib/idlelib/config.py | |
parent | f52325598e7a9683787d76a42009fc16790a0089 (diff) | |
download | cpython-6d13b22e3ab262c6b1f068259aebd705e7da316c.zip cpython-6d13b22e3ab262c6b1f068259aebd705e7da316c.tar.gz cpython-6d13b22e3ab262c6b1f068259aebd705e7da316c.tar.bz2 |
bpo-30779: IDLE: fix changes.delete_section calls in configdialog (#2667)
Also improve test of config.ConfigChanges.delete_section.
Original patch by Cheryl Sabella.
Diffstat (limited to 'Lib/idlelib/config.py')
-rw-r--r-- | Lib/idlelib/config.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/idlelib/config.py b/Lib/idlelib/config.py index ed37f11..bbb3e3c 100644 --- a/Lib/idlelib/config.py +++ b/Lib/idlelib/config.py @@ -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): |