def _format_attrs(self):
attrs = super()._format_attrs()<EOL>for attrib in self._attributes:<EOL><INDENT>if attrib == '<STR_LIT>':<EOL><INDENT>freq = self.freqstr<EOL>if freq is not None:<EOL><INDENT>freq = "<STR_LIT>" % freq<EOL><DEDENT>attrs.append(('<STR_LIT>', freq))<EOL><DEDENT><DEDENT>return attrs<EOL>
Return a list of tuples of the (attr,formatted_value).