quantlib.termstructures.yield_term_structure.YieldTermStructure.discount

YieldTermStructure.discount(self, value, bool extrapolate=False)