def _print_fields(self, fields):
<EOL>longest_name = max(fields, key=lambda f: len(f[<NUM_LIT:1>]))[<NUM_LIT:1>]<EOL>longest_type = max(fields, key=lambda f: len(f[<NUM_LIT:2>]))[<NUM_LIT:2>]<EOL>field_format = '<STR_LIT>'.format(<EOL>len(longest_name) + self._padding_after_name,<EOL>len(longest_type) + self._padding_after_type)<EOL>for field in fields:<EOL><INDENT>self._print(field_format % field)<EOL><DEDENT>
Print the fields, padding the names as necessary to align them.