def combine_plays(games):
 chain = itertools.chain(*[g.drives.plays() for g in games])
 return nflgame.seq.GenPlays(chain)

def combine_plays ( games ) : chain = itertools . chain ( * [ g . drives . plays ( ) for g in games ] ) return nflgame . seq . GenPlays ( chain )
combines a list of games into one big play generator that can be searched as if it were a single game .