[Python-ideas] Adding an optional function argument to all() and any() builtins

Carl M. Johnson cmjohnson.mailinglist at gmail.com
Mon Nov 22 02:56:11 CET 2010


On Sun, Nov 21, 2010 at 3:34 PM, Andy Buckley wrote:

>
> To reiterate, though, for those who like me have a blank day and fail to
> realise that generator expressions are a neat and powerful idiom in this
> case, I think it would be nice to mention this in their documentation.


If you read the original blog post where GvR mentions any/all, he does so
specifically in the context of making generator expressions more useful. :-)
That said, probably very few Python users will ever read that post, so it
should be better documented.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20101121/dd0c197e/attachment.html>


More information about the Python-ideas mailing list