(self)
return ''.join((str(seg) for seg in self))
将消息转换成字符串格式。
将消息转换成字符串格式。
将消息转换成字符串格式。
def __str__(self):
        """将消息转换成字符串格式。"""
        return ''.join((str(seg) for seg in self))
def __str__ ( self ) : return '' . join ( ( str ( seg ) for seg in self ) )