def __unicode__(self):
klass = self.__class__.__name__<EOL>data = self._format_data()<EOL>attrs = self._format_attrs()<EOL>space = self._format_space()<EOL>prepr = ("<STR_LIT>" %<EOL>space).join("<STR_LIT>" % (k, v) for k, v in attrs)<EOL>if data is None:<EOL><INDENT>data = '<STR_LIT>'<EOL><DEDENT>res = "<STR_LIT>" % (klass, data, prepr)<EOL>return res<EOL>
Return a unicode string representation for this object.