Message96308
My point was that the passage starts with "there are also many useful
built-in functions people seem not to be aware of for some reasons" and
then it looks like the author himself was not aware of sum() for some
reason because he gives calculating a sum with reduce() as a "classical
example".
It's very hard to come up with good examples for reduce() and I think in
newer Python versions it has been demoted from builtin to functools, so
it's not a good example for a useful built-in fuction anyway. |
|
Date |
User |
Action |
Args |
2009-12-12 21:41:51 | cito | set | recipients:
+ cito, georg.brandl, rhettinger, ezio.melotti |
2009-12-12 21:41:51 | cito | set | messageid: <1260654111.23.0.0607624503191.issue7402@psf.upfronthosting.co.za> |
2009-12-12 21:41:49 | cito | link | issue7402 messages |
2009-12-12 21:41:49 | cito | create | |
|