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