def __repr__(self):
        """Return a representation of this single-styled text; the text string
        along with a representation of its :class:`TextStyle`."""
        return "{0}('{1}', type={2})".format(self.__class__.__name__,
                                              self.text(None), self.type)
def __repr__ ( self ) : return "{0}('{1}', type={2})" . format ( self . __class__ . __name__ , self . text ( None ) , self . type )
Return a representation of this single-styled text; the text string
        along with a representation of its :class:`TextStyle`.