On Dec 28, 1:35 pm, Steven D'Aprano <st...@remove-this- cybersource.com.au> wrote: > The second thing I think is that maybe the function is a generator, and > so I look for a yield.
You shouldn't, though; Generators can't contain any return statement. -- http://mail.python.org/mailman/listinfo/python-list