summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/config.py
diff options
context:
space:
mode:
authorterryjreedy <tjreedy@udel.edu>2017-07-11 23:50:10 (GMT)
committerGitHub <noreply@github.com>2017-07-11 23:50:10 (GMT)
commitc0179483f13be81910ed73889dcad92528e20ef2 (patch)
tree256e73f5a012fa4fc8da24a01df698370a122a34 /Lib/idlelib/config.py
parent675c1adfe5c87573e81fb295ccad7b6cfa03a3ee (diff)
downloadcpython-c0179483f13be81910ed73889dcad92528e20ef2.zip
cpython-c0179483f13be81910ed73889dcad92528e20ef2.tar.gz
cpython-c0179483f13be81910ed73889dcad92528e20ef2.tar.bz2
[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)
Diffstat (limited to 'Lib/idlelib/config.py')
-rw-r--r--Lib/idlelib/config.py3
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):