[issue7447] Sum() doc and behavior mismatch

Ezio Melotti report at bugs.python.org
Tue Dec 8 00:38:47 CET 2009


Ezio Melotti <ezio.melotti at gmail.com> added the comment:

There are also a couple more things that could be improved in the
documentation of sum():
1) add a note about the "performance trap" mentioned by Alex [1]
2) remove the reduce() example because, even if it's true for that
particular example, it's not always true for the general case (in the
py3 doc it has been removed already).

See also [2] and the other messages in that thread.

[1]: http://mail.python.org/pipermail/python-dev/2003-October/039529.html
[2]: http://mail.python.org/pipermail/python-dev/2003-October/039586.html

----------
nosy: +ezio.melotti
priority:  -> normal
stage:  -> needs patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7447>
_______________________________________


More information about the Python-bugs-list mailing list