Peter Otten wrote:
To confuse a newbies and old hands alike, Bengt Richter wrote:

got me for one:)



To make it a bit clearer, a StopIteration raised in a generator expression silently terminates that generator:

*any* exception raised from a generator, terminates the generator


jfj -- http://mail.python.org/mailman/listinfo/python-list

Reply via email to