def pieces(seq, num=<NUM_LIT:2>):
start = <NUM_LIT:0><EOL>while <NUM_LIT:1>:<EOL><INDENT>item = seq[start:start+num]<EOL>if not len(item): break<EOL>yield item<EOL>start += num<EOL><DEDENT>
Break up the *seq* into *num* tuples