def _get_section(self, name, create=True):
try:<EOL><INDENT>return self.sections[name]<EOL><DEDENT>except KeyError:<EOL><INDENT>if not create:<EOL><INDENT>raise<EOL><DEDENT>section = Section(name)<EOL>self.sections[name] = section<EOL>return section<EOL><DEDENT>
Retrieve a section by name. Create it on first access.