def process_dict(self, d, level, comments):
lines = []<EOL>for k, v in d.items():<EOL><INDENT>if not self.__is_metadata(k):<EOL><INDENT>qk = self.quoter.add_quotes(k)<EOL>qv = self.quoter.add_quotes(v)<EOL>line = self.__format_line(self.whitespace(level, <NUM_LIT:2>), qk, qv)<EOL>line += self.process_attribute_comment(comments, k)<EOL>lines.append(line)<EOL><DEDENT><DEDENT>return lines<EOL>
Process keys and values within a block