colour.hints.Generator# class colour.hints.Generator# __init__()# Methods __init__() close() Raise GeneratorExit inside generator. send(value) Send a value into the generator. throw(typ[, val, tb]) Raise an exception in the generator.