def set_discount(self, discount):
        self._D = discount
Returns True if the stream has data waiting to be written.
dataset/ETHPy150Open nltk/nltk/nltk/probability.py/KneserNeyProbDist.set_discount--crossover with--dataset/ETHPy150Open d11wtq/dockerpty/dockerpty/io.py/Stream.needs_write