Raymond Hettinger <rhettin...@users.sourceforge.net> added the comment:

FWIW, I think the example is fine as-is.  It could be changed to a
product example:  reduce(operator.mul, range(1, n+1)) or somesuch. 
Also, the text could be modified to mention sum().  But it is also fine
if the example is unchanged, it does show how reduce() works.

Recommend closing or just having a very minor edit.

----------
assignee: rhettinger -> 

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue7402>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to