2008/1/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > any( iterab ) and all( iterab ) > > as shorthand for reduce( operator.or_, iterab ) and > reduce( operator.and_, iterab ). > > What do you think? > -- > http://mail.python.org/mailman/listinfo/python-list >
You are too late, any and all are built-in into python 2.5 -- -- Guilherme H. Polo Goncalves -- http://mail.python.org/mailman/listinfo/python-list