(self)
automatically close this channel once the outgoing queue is empty
automatically close this channel once the outgoing queue is empty
automatically close this channel once the outgoing queue is empty
def close_when_done(self):
        "automatically close this channel once the outgoing queue is empty"
        self.producer_fifo.append(None)
def close_when_done ( self ) : self . producer_fifo . append ( None )