def __init__(self, generator, queueSize=0):
        "Initialise the spawned generator from a generator."
        threading.Thread.__init__(self)
        self.generator = generator
        self.queueSize = queueSize
Initialise the spawned generator from a generator.
recipes/Python/196890_Spawned_Generators/recipe-196890.py