def get_attrs(self):
self.encoding = _ensure_encoding(getattr(self.attrs, '<STR_LIT>', None))<EOL>self.errors = _ensure_decoded(getattr(self.attrs, '<STR_LIT>', '<STR_LIT:strict>'))<EOL>for n in self.attributes:<EOL><INDENT>setattr(self, n, _ensure_decoded(getattr(self.attrs, n, None)))<EOL><DEDENT>
retrieve our attributes