def __repr__(self):
        if len(self.args) == 2:
            return 'The channel was closed (%s) %s' % (self.args[0],
                                                       self.args[1])
        else:
            return 'The channel was closed: %s' % (self.args,)
dataset/ETHPy150Open pika/pika/pika/exceptions.py/ChannelClosed.__repr__/original