[Python-3000] what do I use in place of reduce?

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Apr 24 02:05:56 CEST 2008


Nicholas T wrote:
>    It's obvious how to use LC's to replace map and filter, but what 
> about reduce?

LCs were never intended to be a replacement for reduce.

If you like reduce, why not continue to use it? I don't
think it's going away, just being moved into a different
module.

-- 
Greg


More information about the Python-3000 mailing list