def __repr__(self):
        fs = ['%s=%r' % (f, getattr(self,f)) for f, _ in self._fields]
        t = type(self)
        klass = (getattr(self, '_name', None) or
                 '%s.%s' % (t.__module__, t.__name__))
        return '%s(%s)' % (klass, ', '.join(fs))
dataset/ETHPy150Open paolo-losi/stormed-amqp/stormed/util.py/WithFields.__repr__/original