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

    infos = _search_schedule(year, week, home, away, kind, started)
    if (not infos):
        return None
    def gen():
        for info in infos:
            g = nflgame.game.Game(info['eid'])
            if (g is None):
                continue
            (yield g)
    return gen()

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

def games_gen(year, week=None, home=None, away=None, kind='REG', started=False):