def __str__(self):
        """ x.__str__() <==> str(x)

        """
        name = self.typeName
        items = str.join(', ', ['%s=%s' % item for item in self.items()])
        return '<%s%s>' % (name, (' ' + items) if items else '')
dataset/ETHPy150Open CarterBain/Medici/ib/opt/message.py/Message.__str__/original