def METHOD_NAME(self, exclude_args):
    exclude_section_numbers = {self.section_index[arg_name]
                               for arg_name in exclude_args}
    def yield_lines():
        for i, section in enumerate(self.sections):
            if i not in exclude_section_numbers:
                for line in section:
                    yield line
    return '\n'.join(yield_lines())