diff options
author | fuzzyman <devnull@localhost> | 2009-10-25 21:38:00 +0000 |
---|---|---|
committer | fuzzyman <devnull@localhost> | 2009-10-25 21:38:00 +0000 |
commit | 6a36d7667fe5773077790ac831879883425c9cd3 (patch) | |
tree | a2693b72f909b3d02370c3f7bdf914bab7accd5c /configobj.py | |
parent | b126d8fde44bc9ce373951918d5b2c72f420ce4d (diff) | |
download | configobj-6a36d7667fe5773077790ac831879883425c9cd3.tar.gz |
clear() and reset() handles defaults, default_values and extra_values correctly.
Diffstat (limited to 'configobj.py')
-rw-r--r-- | configobj.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configobj.py b/configobj.py index ed1d5ea..fee7bda 100644 --- a/configobj.py +++ b/configobj.py @@ -702,6 +702,8 @@ class Section(dict): self.comments = {} self.inline_comments = {} self.configspec = None + self.defaults = [] + self.extra_values = [] def setdefault(self, key, default=None): |