human
Here's a good function header given the following:
I wrote the below code

    def condition(height, depth):
        'Expression    generation    stops    when    the    depth    is    equal    to    height\n                                or    when    it    is    randomly    determined    that    a    a    node    should    be    a    terminal.\n                                '
        return ((depth == height) or ((depth >= min_) and (random.random() < pset.terminalRatio)))
    return generate(pset, min_, max_, condition, type_)

What's a good function header?
assistant
#Here's a good function header.

def genGrow(pset, min_, max_, type_=None):