(self)
return repr(self)
Get a human-readable representation of ``self``.

        By default, ``self.description`` converted to a Python string is returned.
        If ``self.description`` is ``nil``, ``self.debugDescription`` converted to a Python is returned instead.
        If that is also ``nil``, ``repr(self)`` is returned as a fallback.
Get a human-readable representation of ``self``.
Get a human - readable representation of self .
def __str__(self):
        """Get a human-readable representation of ``self``.

        By default, ``self.description`` converted to a Python string is returned.
        If ``self.description`` is ``nil``, ``self.debugDescription`` converted to a Python is returned instead.
        If that is also ``nil``, ``repr(self)`` is returned as a fallback.
        """

        desc = self.description
        if desc is not None:
            return str(desc)

        desc = self.debugDescription
        if desc is not None:
            return str(desc)

        return repr(self)
def __str__ ( self ) : desc = self . description if desc is not None : return str ( desc ) desc = self . debugDescription if desc is not None : return str ( desc ) return repr ( self )