def _format_attrs(self):
attrs = self._get_data_as_items()<EOL>if self.name is not None:<EOL><INDENT>attrs.append(('<STR_LIT:name>', ibase.default_pprint(self.name)))<EOL><DEDENT>return attrs<EOL>
Return a list of tuples of the (attr, formatted_value)