def __repr__(self):
        return '%s(%r)' % (self.__class__.__name__, self.discount)


# Helper global as returning zero discount is quite common
dataset/ETHPy150Open django-oscar/django-oscar/src/oscar/apps/offer/results.py/BasketDiscount.__repr__/original