[Python-Dev] accumulator display syntax

Barry Warsaw barry at python.org
Fri Oct 17 14:35:47 EDT 2003


On Fri, 2003-10-17 at 12:57, Neil Schemenauer wrote:

>     sum((yield: x*2 for x in foo))

+1
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 307 bytes
Desc: This is a digitally signed message part
Url : http://mail.python.org/pipermail/python-dev/attachments/20031017/bbb5c200/attachment.bin


More information about the Python-Dev mailing list