[EMAIL PROTECTED] (Aahz) writes: > What's wrong with > > def foo(): > if False: yield None
Does the following work?
def foo():
raise StopIteration
--
http://mail.python.org/mailman/listinfo/python-list
[EMAIL PROTECTED] (Aahz) writes: > What's wrong with > > def foo(): > if False: yield None
Does the following work?
def foo():
raise StopIteration
--
http://mail.python.org/mailman/listinfo/python-list