Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Improve save_all docstring as per Louie's comment.
  • Loading branch information
terryjreedy committed Jul 7, 2017
commit 8c708ccef1b7890e2b1e8bac1669e614b153e948
4 changes: 3 additions & 1 deletion Lib/idlelib/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -826,8 +826,10 @@ def save_option(config_type, section, item, value):
return idleConf.userCfg[config_type].SetOption(section, item, value)

def save_all(self):
"Save configuration changes to the user config file."
"""Save configuration changes to the user config file.

When clear self in preparation for additional changes.
"""
idleConf.userCfg['main'].Save()
for config_type in self:
cfg_type_changed = False
Expand Down