qwjqwj <q...@papayamobile.com> added the comment:

>>> x = ((yield i) for i in range(10))
>>> list(x)
[0, None, 1, None, 2, None, 3, None, 4, None, 5, None, 6, None, 7, None,
8, None, 9, None]

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue5577>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to