361
361
self.defaults.remove(key)
363
363
if isinstance(value, Section):
365
365
self.sections.append(key)
366
366
dict.__setitem__(self, key, value)
367
367
elif isinstance(value, dict):
368
368
# First create the new depth level,
369
369
# then create the section
371
371
self.sections.append(key)
372
372
new_depth = self.depth + 1