... it nicely encapsulates the learning of "generators" so that when you see yield up front you know something generatish is going on.
+1 for "generatish" as VOTW (Vocabulation of the Week). =)
STeVe -- http://mail.python.org/mailman/listinfo/python-list