def set_attrs ( self ) : self . attrs . encoding = self . encoding self . attrs . errors = self . errors
python object has not attributre
set our object attributes
def set_attrs(self):
        """ set our object attributes """
        self.attrs.encoding = self.encoding
        self.attrs.errors = self.errors